com.caucho.boot
Class AbstractDeployCommand

java.lang.Object
  extended by com.caucho.boot.AbstractBootCommand
      extended by com.caucho.boot.AbstractRemoteCommand
          extended by com.caucho.boot.AbstractRepositoryCommand
              extended by com.caucho.boot.AbstractDeployCommand
All Implemented Interfaces:
BootCommand
Direct Known Subclasses:
ConfigDeployCommand, DeployCommand

public abstract class AbstractDeployCommand
extends AbstractRepositoryCommand


Constructor Summary
AbstractDeployCommand()
           
 
Method Summary
protected abstract  CommitBuilder createCommitBuilder(com.caucho.boot.WatchdogArgs args, Path path)
           
protected  void deploy(com.caucho.boot.WatchdogArgs args, WebAppDeployClient deployClient, Path path, CommitBuilder commit)
           
 int doCommand(com.caucho.boot.WatchdogArgs args, com.caucho.boot.WatchdogClient client, WebAppDeployClient deployClient)
           
protected  Path getDeployPath(com.caucho.boot.WatchdogArgs args)
           
 java.lang.String getDescription()
           
 java.lang.String getUsageArgs()
           
protected  void initBootOptions()
           
 boolean isDefaultArgsAccepted()
           
 
Methods inherited from class com.caucho.boot.AbstractRepositoryCommand
doCommand, getDeployClient
 
Methods inherited from class com.caucho.boot.AbstractRemoteCommand
createBamClient
 
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, isProOnly, 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

AbstractDeployCommand

public AbstractDeployCommand()
Method Detail

initBootOptions

protected void initBootOptions()
Overrides:
initBootOptions in class AbstractRepositoryCommand

isDefaultArgsAccepted

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

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

doCommand

public int doCommand(com.caucho.boot.WatchdogArgs args,
                     com.caucho.boot.WatchdogClient client,
                     WebAppDeployClient deployClient)
Specified by:
doCommand in class AbstractRepositoryCommand

getDeployPath

protected Path getDeployPath(com.caucho.boot.WatchdogArgs args)

createCommitBuilder

protected abstract CommitBuilder createCommitBuilder(com.caucho.boot.WatchdogArgs args,
                                                     Path path)

deploy

protected void deploy(com.caucho.boot.WatchdogArgs args,
                      WebAppDeployClient deployClient,
                      Path path,
                      CommitBuilder commit)