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() |
Integer |
getTimeout() |
StopContainerCmd |
withContainerId(String containerId) |
StopContainerCmd |
withTimeout(Integer timeout) |
@CheckForNull String getContainerId()
@CheckForNull Integer getTimeout()
StopContainerCmd withContainerId(@Nonnull String containerId)
StopContainerCmd withTimeout(Integer timeout)
Void exec() throws NotFoundException, NotModifiedException
exec
in interface SyncDockerCmd<Void>
NotFoundException
- No such containerNotModifiedException
- Container already stoppedCopyright © 2017. All Rights Reserved.