Class NuxeoCtlManager

    • Constructor Detail

      • NuxeoCtlManager

        public NuxeoCtlManager()
    • Method Detail

      • isWindows

        @Deprecated
        public static boolean isWindows()
        Deprecated.
        Since 7.4. Use SystemUtils.IS_OS_WINDOWS
      • doExec

        protected static boolean doExec​(String path,
                                        String logPath)
      • getCommand

        protected static String[] getCommand​(String path)
        Gets the OS dependent command for nuxeoctl restartbg
        Parameters:
        path - the Nuxeo bin path
        Returns:
        an array of String to pass to the ProcessBuilder
        Since:
        9.2
      • restart

        public static boolean restart()
      • restartServer

        public String restartServer()
      • getServerURL

        public String getServerURL()
        Returns:
        Configured server URL (may differ from current URL)
        Since:
        5.6