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