com.caucho.boot
Class AbstractStartCommand
java.lang.Object
com.caucho.boot.AbstractBootCommand
com.caucho.boot.AbstractStartCommand
- All Implemented Interfaces:
- BootCommand
- Direct Known Subclasses:
- ConsoleCommand, GuiCommand, RestartCommand, StartAllCommand, StartCloudCommand, StartCommand, StartWithForegroundCommand, WatchdogCommand
public abstract class AbstractStartCommand
- extends AbstractBootCommand
Methods inherited from class com.caucho.boot.AbstractBootCommand |
addFlagOption, addIntValueOption, addOption, addOption, addSpacerOption, addSubsectionHeaderOption, addValueOption, addValueOption, doCommand, findClient, findLocalClientImpl, findNamedClientImpl, findUniqueLocalClient, findWatchdogClientImpl, getDescription, getName, getOptionUsage, getUsageArgs, isConsole, isDefaultArgsAccepted, isFlag, isIntValueOption, isProOnly, isRemote, isShutdown, isStart, isStartAll, isValueOption, toString, usage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AbstractStartCommand
public AbstractStartCommand()
initBootOptions
protected void initBootOptions()
- Overrides:
initBootOptions
in class AbstractBootCommand
doCommand
public int doCommand(ResinBoot boot,
com.caucho.boot.WatchdogArgs args)
- Specified by:
doCommand
in interface BootCommand
- Overrides:
doCommand
in class AbstractBootCommand
doWatchdogStart
public void doWatchdogStart(com.caucho.boot.WatchdogManager manager)
- Specified by:
doWatchdogStart
in interface BootCommand
- Overrides:
doWatchdogStart
in class AbstractBootCommand
findNamedClient
protected com.caucho.boot.WatchdogClient findNamedClient(ResinBoot boot,
com.caucho.boot.WatchdogArgs args,
java.lang.String serverId)
- Overrides:
findNamedClient
in class AbstractBootCommand
findLocalClient
protected com.caucho.boot.WatchdogClient findLocalClient(ResinBoot boot,
com.caucho.boot.WatchdogArgs args)
- Overrides:
findLocalClient
in class AbstractBootCommand
findWatchdogClient
protected com.caucho.boot.WatchdogClient findWatchdogClient(ResinBoot boot,
com.caucho.boot.WatchdogArgs args)
- Overrides:
findWatchdogClient
in class AbstractBootCommand
getServerUsageArg
protected java.lang.String getServerUsageArg(com.caucho.boot.WatchdogArgs args,
java.lang.String clientId)
isRetry
public boolean isRetry()
- Specified by:
isRetry
in interface BootCommand
- Overrides:
isRetry
in class AbstractBootCommand