com.caucho.boot
Class AbstractRepositoryCommand

java.lang.Object
  extended by com.caucho.boot.AbstractBootCommand
      extended by com.caucho.boot.AbstractRemoteCommand
          extended by com.caucho.boot.AbstractRepositoryCommand
All Implemented Interfaces:
BootCommand
Direct Known Subclasses:
ConfigCatCommand, ConfigDeployCommand, ConfigLsCommand, DeployCommand, DeployCopyCommand, DeployListCommand, UndeployCommand, WebAppCommand, WebAppUndeployCommand

public abstract class AbstractRepositoryCommand
extends AbstractRemoteCommand


Constructor Summary
protected AbstractRepositoryCommand()
           
 
Method Summary
 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, WebAppDeployClient deployClient)
           
protected  void fillInVersion(CommitBuilder commit, java.lang.String version)
           
protected  WebAppDeployClient getDeployClient(com.caucho.boot.WatchdogArgs args, com.caucho.boot.WatchdogClient client)
           
 
Methods inherited from class com.caucho.boot.AbstractRemoteCommand
createBamClient
 
Methods inherited from class com.caucho.boot.AbstractBootCommand
addFlagOption, addIntValueOption, addOption, addValueOption, doCommand, getDescription, getName, getOptionUsage, getUsageArgs, isConsole, isDefaultArgsAccepted, isFlag, isIntValueOption, isProOnly, isRemote, isRetry, isShutdown, isStart, isValueOption, toString, usage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractRepositoryCommand

protected AbstractRepositoryCommand()
Method Detail

doCommand

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

doCommand

protected abstract int doCommand(com.caucho.boot.WatchdogArgs args,
                                 com.caucho.boot.WatchdogClient client,
                                 WebAppDeployClient deployClient)

fillInVersion

protected final void fillInVersion(CommitBuilder commit,
                                   java.lang.String version)

getDeployClient

protected WebAppDeployClient getDeployClient(com.caucho.boot.WatchdogArgs args,
                                             com.caucho.boot.WatchdogClient client)