Class DockerCommand
java.lang.Object
org.apache.storm.container.docker.DockerCommand
- Direct Known Subclasses:
- DockerExecCommand,- DockerInspectCommand,- DockerPsCommand,- DockerRmCommand,- DockerRunCommand,- DockerStopCommand,- DockerWaitCommand
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected final voidaddCommandArguments(String... arguments) Add command commandWithArguments.final StringReturns the docker sub-command string being used, e.g 'run'.Get the full command.
- 
Constructor Details- 
DockerCommand
 
- 
- 
Method Details- 
getCommandOptionReturns the docker sub-command string being used, e.g 'run'.- Returns:
- the sub-command
 
- 
addCommandArgumentsAdd command commandWithArguments. This method is only meant for use by sub-classes.- Parameters:
- arguments- to be added
 
- 
getCommandWithArgumentsGet the full command.- Returns:
- the full command
 
 
-