public abstract class AbstractManagementCommand extends AbstractRemoteCommand
| Modifier and Type | Field and Description |
|---|---|
static int |
RETURN_CODE_SERVER_ERROR |
| Constructor and Description |
|---|
AbstractManagementCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected ManagerClient |
createManagerClient(com.caucho.boot.WatchdogArgs args,
com.caucho.boot.WatchdogClient client) |
int |
doCommand(com.caucho.boot.WatchdogArgs args,
com.caucho.boot.WatchdogClient client) |
protected abstract int |
doCommand(com.caucho.boot.WatchdogArgs args,
com.caucho.boot.WatchdogClient client,
ManagerClient managerClient) |
boolean |
isProOnly() |
createBamClient, initBootOptionsaddFlagOption, addIntValueOption, addOption, addOption, addSpacerOption, addSubsectionHeaderOption, addValueOption, addValueOption, doCommand, doWatchdogStart, findClient, findLocalClient, findLocalClientImpl, findNamedClient, findNamedClientImpl, findUniqueLocalClient, findWatchdogClient, findWatchdogClientImpl, getDescription, getName, getOptionUsage, getUsageArgs, isConsole, isDefaultArgsAccepted, isFlag, isIntValueOption, isRemote, isRetry, isShutdown, isStart, isStartAll, isValueOption, toString, usagepublic static final int RETURN_CODE_SERVER_ERROR
public int doCommand(com.caucho.boot.WatchdogArgs args,
com.caucho.boot.WatchdogClient client)
throws BootArgumentException
doCommand in class AbstractBootCommandBootArgumentExceptionpublic boolean isProOnly()
isProOnly in interface BootCommandisProOnly in class AbstractBootCommandprotected abstract int doCommand(com.caucho.boot.WatchdogArgs args,
com.caucho.boot.WatchdogClient client,
ManagerClient managerClient)
protected ManagerClient createManagerClient(com.caucho.boot.WatchdogArgs args, com.caucho.boot.WatchdogClient client)