public interface RemoveContainerCmd extends SyncDockerCmd<Void>
Modifier and Type | Interface and Description |
---|---|
static interface |
RemoveContainerCmd.Exec |
Modifier and Type | Method and Description |
---|---|
Void |
exec() |
String |
getContainerId() |
Boolean |
hasForceEnabled() |
Boolean |
hasRemoveVolumesEnabled() |
RemoveContainerCmd |
withContainerId(String containerId) |
RemoveContainerCmd |
withForce(Boolean force) |
RemoveContainerCmd |
withRemoveVolumes(Boolean removeVolumes) |
@CheckForNull String getContainerId()
@CheckForNull Boolean hasRemoveVolumesEnabled()
@CheckForNull Boolean hasForceEnabled()
RemoveContainerCmd withContainerId(@Nonnull String containerId)
RemoveContainerCmd withRemoveVolumes(Boolean removeVolumes)
RemoveContainerCmd withForce(Boolean force)
Void exec() throws NotFoundException
exec
in interface SyncDockerCmd<Void>
NotFoundException
- No such containerCopyright © 2017. All Rights Reserved.