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, initBootOptions
addFlagOption, 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, usage
public 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 AbstractBootCommand
BootArgumentException
public boolean isProOnly()
isProOnly
in interface BootCommand
isProOnly
in class AbstractBootCommand
protected 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)