Class DockerRmCommand
- java.lang.Object
-
- org.apache.storm.container.docker.DockerCommand
-
- org.apache.storm.container.docker.DockerRmCommand
-
public class DockerRmCommand extends DockerCommand
Encapsulates the docker rm command and its command line arguments.
-
-
Constructor Summary
Constructors Constructor Description DockerRmCommand(String containerName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCommandWithArguments()
Get the full command.DockerRmCommand
withForce()
-
Methods inherited from class org.apache.storm.container.docker.DockerCommand
addCommandArguments, getCommandOption
-
-
-
-
Constructor Detail
-
DockerRmCommand
public DockerRmCommand(String containerName)
-
-
Method Detail
-
withForce
public DockerRmCommand withForce()
-
getCommandWithArguments
public String getCommandWithArguments()
Get the full command.- Overrides:
getCommandWithArguments
in classDockerCommand
- Returns:
- the full command
-
-