public interface StopContainerCmd extends SyncDockerCmd<Void>
Modifier and Type | Interface and Description |
---|---|
static interface |
StopContainerCmd.Exec |
Modifier and Type | Method and Description |
---|---|
Void |
exec() |
String |
getContainerId() |
int |
getTimeout() |
StopContainerCmd |
withContainerId(String containerId) |
StopContainerCmd |
withTimeout(int timeout) |
String getContainerId()
int getTimeout()
StopContainerCmd withContainerId(String containerId)
StopContainerCmd withTimeout(int timeout)
Void exec() throws NotFoundException, NotModifiedException
exec
in interface SyncDockerCmd<Void>
NotFoundException
- No such containerNotModifiedException
- Container already stoppedCopyright © 2015. All Rights Reserved.