Class DockerExecCommand
java.lang.Object
org.apache.storm.container.docker.DockerCommand
org.apache.storm.container.docker.DockerExecCommand
Encapsulates the docker exec command and its command line arguments.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddExecCommand
(List<String> commandInContainer) Add the command to run from inside container.Get the full command.Methods inherited from class org.apache.storm.container.docker.DockerCommand
addCommandArguments, getCommandOption
-
Constructor Details
-
DockerExecCommand
-
-
Method Details
-
addExecCommand
Add the command to run from inside container.- Parameters:
commandInContainer
- the command to run from inside container- Returns:
- the self
-
getCommandWithArguments
Get the full command.- Overrides:
getCommandWithArguments
in classDockerCommand
- Returns:
- the full command
-