com.caucho.boot
Class AbstractDeployCommand
java.lang.Object
com.caucho.boot.AbstractBootCommand
com.caucho.boot.AbstractRemoteCommand
com.caucho.boot.AbstractRepositoryCommand
com.caucho.boot.AbstractDeployCommand
- All Implemented Interfaces:
- BootCommand
- Direct Known Subclasses:
- ConfigDeployCommand, DeployCommand
public abstract class AbstractDeployCommand
- extends AbstractRepositoryCommand
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 |
AbstractDeployCommand
public AbstractDeployCommand()
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)