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