public class PauseContainerCmdImpl extends AbstrDockerCmd<PauseContainerCmd,Void> implements PauseContainerCmd
PauseContainerCmd.Exec
execution
Constructor and Description |
---|
PauseContainerCmdImpl(PauseContainerCmd.Exec exec,
String containerId) |
Modifier and Type | Method and Description |
---|---|
Void |
exec() |
String |
getContainerId() |
String |
toString() |
PauseContainerCmd |
withContainerId(String containerId) |
close
public PauseContainerCmdImpl(PauseContainerCmd.Exec exec, String containerId)
public String getContainerId()
getContainerId
in interface PauseContainerCmd
public PauseContainerCmd withContainerId(String containerId)
withContainerId
in interface PauseContainerCmd
public Void exec() throws NotFoundException
exec
in interface DockerCmd<Void>
exec
in interface PauseContainerCmd
exec
in class AbstrDockerCmd<PauseContainerCmd,Void>
NotFoundException
- No such containerCopyright © 2015. All Rights Reserved.