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, getCommandOption
public DockerStopCommand(String containerName)
public DockerStopCommand setGracePeriod(int value)
public String getCommandWithArguments()
Get the full command.
getCommandWithArguments
in class DockerCommand
Copyright © 2022 The Apache Software Foundation. All rights reserved.