com.github.dockerjava.core.command
Class PauseContainerCmdImpl
java.lang.Object
com.github.dockerjava.core.command.AbstrDockerCmd<PauseContainerCmd,Void>
com.github.dockerjava.core.command.PauseContainerCmdImpl
- All Implemented Interfaces:
- DockerCmd<Void>, PauseContainerCmd
public class PauseContainerCmdImpl
- extends AbstrDockerCmd<PauseContainerCmd,Void>
- implements PauseContainerCmd
Pause a container.
PauseContainerCmdImpl
public PauseContainerCmdImpl(PauseContainerCmd.Exec exec,
String containerId)
getContainerId
public String getContainerId()
- Specified by:
getContainerId
in interface PauseContainerCmd
withContainerId
public PauseContainerCmd withContainerId(String containerId)
- Specified by:
withContainerId
in interface PauseContainerCmd
toString
public String toString()
- Overrides:
toString
in class Object
exec
public Void exec()
throws NotFoundException
- Specified by:
exec
in interface DockerCmd<Void>
- Specified by:
exec
in interface PauseContainerCmd
- Overrides:
exec
in class AbstrDockerCmd<PauseContainerCmd,Void>
- Throws:
NotFoundException
- No such container
Copyright © 2014. All Rights Reserved.