public interface RestartContainerCmd extends SyncDockerCmd<Void>
Modifier and Type | Interface and Description |
---|---|
static interface |
RestartContainerCmd.Exec |
Modifier and Type | Method and Description |
---|---|
Void |
exec() |
String |
getContainerId() |
int |
getTimeout() |
RestartContainerCmd |
withContainerId(String containerId) |
RestartContainerCmd |
withtTimeout(int timeout) |
String getContainerId()
int getTimeout()
RestartContainerCmd withContainerId(String containerId)
RestartContainerCmd withtTimeout(int timeout)
Void exec() throws NotFoundException
exec
in interface SyncDockerCmd<Void>
NotFoundException
- No such containerCopyright © 2016. All Rights Reserved.