Package org.nuxeo.ecm.admin
Class NuxeoCtlManager
java.lang.Object
org.nuxeo.ecm.admin.NuxeoCtlManager
Helper class to call NuxeoCtl restart.
- Author:
- Tiry ([email protected])
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static boolean
protected static String[]
getCommand
(String path) Gets the OS dependent command for nuxeoctl restartbgstatic boolean
restart()
-
Field Details
-
CMD_POSIX
- See Also:
-
CMD_WIN
- See Also:
-
-
Constructor Details
-
NuxeoCtlManager
public NuxeoCtlManager()
-
-
Method Details
-
doExec
-
getCommand
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
-
getServerURL
- Returns:
- Configured server URL (may differ from current URL)
- Since:
- 5.6
-