Class NuxeoCtlManager

java.lang.Object
org.nuxeo.ecm.admin.NuxeoCtlManager

public class NuxeoCtlManager extends Object
Helper class to call NuxeoCtl restart.
Author:
Tiry ([email protected])
  • Field Details

  • Constructor Details

    • NuxeoCtlManager

      public NuxeoCtlManager()
  • Method Details

    • 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