com.caucho.boot
Class EnableCommand

java.lang.Object
  extended by com.caucho.boot.AbstractBootCommand
      extended by com.caucho.boot.AbstractRemoteCommand
          extended by com.caucho.boot.AbstractManagementCommand
              extended by com.caucho.boot.EnableCommand
All Implemented Interfaces:
BootCommand

public class EnableCommand
extends AbstractManagementCommand


Field Summary
 
Fields inherited from class com.caucho.boot.AbstractManagementCommand
RETURN_CODE_SERVER_ERROR
 
Constructor Summary
EnableCommand()
           
 
Method Summary
 int doCommand(com.caucho.boot.WatchdogArgs args, com.caucho.boot.WatchdogClient client, ManagerClient manager)
           
 java.lang.String getDescription()
           
 java.lang.String getUsageArgs()
           
 boolean isDefaultArgsAccepted()
           
 
Methods inherited from class com.caucho.boot.AbstractManagementCommand
createManagerClient, doCommand, isProOnly
 
Methods inherited from class com.caucho.boot.AbstractRemoteCommand
createBamClient, initBootOptions
 
Methods inherited from class com.caucho.boot.AbstractBootCommand
addFlagOption, addIntValueOption, addOption, addOption, addSpacerOption, addSubsectionHeaderOption, addValueOption, addValueOption, doCommand, doWatchdogStart, findClient, findLocalClient, findLocalClientImpl, findNamedClient, findNamedClientImpl, findUniqueLocalClient, findWatchdogClient, findWatchdogClientImpl, getName, getOptionUsage, isConsole, isFlag, isIntValueOption, isRemote, isRetry, isShutdown, isStart, isStartAll, isValueOption, toString, usage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EnableCommand

public EnableCommand()
Method Detail

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface BootCommand
Overrides:
getDescription in class AbstractBootCommand

getUsageArgs

public java.lang.String getUsageArgs()
Overrides:
getUsageArgs in class AbstractBootCommand

isDefaultArgsAccepted

public boolean isDefaultArgsAccepted()
Specified by:
isDefaultArgsAccepted in interface BootCommand
Overrides:
isDefaultArgsAccepted in class AbstractBootCommand

doCommand

public int doCommand(com.caucho.boot.WatchdogArgs args,
                     com.caucho.boot.WatchdogClient client,
                     ManagerClient manager)
              throws BootArgumentException
Specified by:
doCommand in class AbstractManagementCommand
Throws:
BootArgumentException