public class DockerStopCommand extends DockerCommand
Encapsulates the docker stop command and its command line arguments.
| Constructor and Description |
|---|
DockerStopCommand(String containerName) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCommandWithArguments()
Get the full command.
|
DockerStopCommand |
setGracePeriod(int value) |
addCommandArguments, getCommandOptionpublic DockerStopCommand(String containerName)
public DockerStopCommand setGracePeriod(int value)
public String getCommandWithArguments()
Get the full command.
getCommandWithArguments in class DockerCommandCopyright © 2021 The Apache Software Foundation. All rights reserved.