public class TopContainerCmdImpl extends AbstrDockerCmd<TopContainerCmd,TopContainerResponse> implements TopContainerCmd
TopContainerCmd.Exec
execution
Constructor and Description |
---|
TopContainerCmdImpl(TopContainerCmd.Exec exec,
java.lang.String containerId) |
Modifier and Type | Method and Description |
---|---|
TopContainerResponse |
exec() |
java.lang.String |
getContainerId() |
java.lang.String |
getPsArgs() |
TopContainerCmd |
withContainerId(java.lang.String containerId) |
TopContainerCmd |
withPsArgs(java.lang.String psArgs) |
close, registryAuth, toString
public TopContainerCmdImpl(TopContainerCmd.Exec exec, java.lang.String containerId)
public java.lang.String getContainerId()
getContainerId
in interface TopContainerCmd
public java.lang.String getPsArgs()
getPsArgs
in interface TopContainerCmd
public TopContainerCmd withContainerId(java.lang.String containerId)
withContainerId
in interface TopContainerCmd
public TopContainerCmd withPsArgs(java.lang.String psArgs)
withPsArgs
in interface TopContainerCmd
public TopContainerResponse exec() throws NotFoundException
exec
in interface SyncDockerCmd<TopContainerResponse>
exec
in interface TopContainerCmd
exec
in class AbstrDockerCmd<TopContainerCmd,TopContainerResponse>
NotFoundException
- No such containerCopyright © 2018. All Rights Reserved.