public class NuxeoCtlManager extends Object
Modifier and Type | Field and Description |
---|---|
protected static String |
CMD_POSIX |
protected static String |
CMD_WIN |
protected static org.apache.commons.logging.Log |
log |
Constructor and Description |
---|
NuxeoCtlManager() |
Modifier and Type | Method and Description |
---|---|
protected static boolean |
doExec(String path,
String logPath) |
protected static String[] |
getCommand(String path)
Gets the OS dependent command for nuxeoctl restartbg
|
String |
getServerURL() |
static boolean |
isWindows()
Deprecated.
Since 7.4. Use
SystemUtils.IS_OS_WINDOWS |
static boolean |
restart() |
String |
restartServer() |
protected static final String CMD_POSIX
protected static final String CMD_WIN
protected static final org.apache.commons.logging.Log log
public NuxeoCtlManager()
@Deprecated public static boolean isWindows()
SystemUtils.IS_OS_WINDOWS
protected static String[] getCommand(String path)
path
- the Nuxeo bin pathProcessBuilder
public static boolean restart()
public String restartServer()
public String getServerURL()
Copyright © 2017 Nuxeo. All rights reserved.