public abstract class AbstractDeployCommand extends AbstractRepositoryCommand
Constructor and Description |
---|
AbstractDeployCommand() |
Modifier and Type | Method and Description |
---|---|
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,
long timeout) |
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() |
doCommand, getDeployClient
createBamClient
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
protected void initBootOptions()
initBootOptions
in class AbstractRepositoryCommand
public boolean isDefaultArgsAccepted()
isDefaultArgsAccepted
in interface BootCommand
isDefaultArgsAccepted
in class AbstractBootCommand
public java.lang.String getDescription()
getDescription
in interface BootCommand
getDescription
in class AbstractBootCommand
public java.lang.String getUsageArgs()
getUsageArgs
in class AbstractBootCommand
public int doCommand(com.caucho.boot.WatchdogArgs args, com.caucho.boot.WatchdogClient client, WebAppDeployClient deployClient)
doCommand
in class AbstractRepositoryCommand
protected Path getDeployPath(com.caucho.boot.WatchdogArgs args)
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, long timeout)