com.caucho.boot
Class ConsoleCommand

java.lang.Object
  extended by com.caucho.boot.AbstractBootCommand
      extended by com.caucho.boot.AbstractStartCommand
          extended by com.caucho.boot.ConsoleCommand
All Implemented Interfaces:
BootCommand

public class ConsoleCommand
extends AbstractStartCommand

Command to start Resin server in console mode bin/resin.sh console -server a


Constructor Summary
ConsoleCommand()
           
 
Method Summary
 int doCommand(com.caucho.boot.WatchdogArgs args, com.caucho.boot.WatchdogClient client)
           
 java.lang.String getDescription()
           
 boolean isConsole()
           
 boolean isRetry()
           
 boolean isStart()
           
 
Methods inherited from class com.caucho.boot.AbstractStartCommand
getServerUsageArg
 
Methods inherited from class com.caucho.boot.AbstractBootCommand
addFlagOption, addIntValueOption, addOption, addValueOption, doCommand, getName, getOptionUsage, getUsageArgs, isDefaultArgsAccepted, isFlag, isIntValueOption, isProOnly, isRemote, isShutdown, isValueOption, toString, usage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConsoleCommand

public ConsoleCommand()
Method Detail

getDescription

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

isConsole

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

isStart

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

isRetry

public boolean isRetry()
Specified by:
isRetry in interface BootCommand
Overrides:
isRetry in class AbstractStartCommand

doCommand

public int doCommand(com.caucho.boot.WatchdogArgs args,
                     com.caucho.boot.WatchdogClient client)
              throws BootArgumentException
Overrides:
doCommand in class AbstractBootCommand
Throws:
BootArgumentException