public class InspectContainerCmdImpl extends AbstrDockerCmd<InspectContainerCmd,InspectContainerResponse> implements InspectContainerCmd
InspectContainerCmd.Exec
execution
Constructor and Description |
---|
InspectContainerCmdImpl(InspectContainerCmd.Exec exec,
String containerId) |
Modifier and Type | Method and Description |
---|---|
InspectContainerResponse |
exec() |
String |
getContainerId() |
Boolean |
getSize() |
InspectContainerCmd |
withContainerId(String containerId) |
InspectContainerCmd |
withSize(Boolean showSize) |
close, registryAuth, toString
public InspectContainerCmdImpl(InspectContainerCmd.Exec exec, String containerId)
public String getContainerId()
getContainerId
in interface InspectContainerCmd
public InspectContainerCmd withContainerId(String containerId)
withContainerId
in interface InspectContainerCmd
public InspectContainerCmd withSize(Boolean showSize)
withSize
in interface InspectContainerCmd
public Boolean getSize()
getSize
in interface InspectContainerCmd
public InspectContainerResponse exec() throws NotFoundException
exec
in interface InspectContainerCmd
exec
in interface SyncDockerCmd<InspectContainerResponse>
exec
in class AbstrDockerCmd<InspectContainerCmd,InspectContainerResponse>
NotFoundException
- No such containerCopyright © 2016. All Rights Reserved.