public class RemoveSwarmNodeCmdImpl extends AbstrDockerCmd<RemoveSwarmNodeCmd,java.lang.Void> implements RemoveSwarmNodeCmd
RemoveSwarmNodeCmd.Exec
execution
Constructor and Description |
---|
RemoveSwarmNodeCmdImpl(RemoveSwarmNodeCmd.Exec exec,
java.lang.String containerId) |
Modifier and Type | Method and Description |
---|---|
java.lang.Void |
exec() |
java.lang.String |
getSwarmNodeId() |
java.lang.Boolean |
hasForceEnabled() |
RemoveSwarmNodeCmd |
withContainerId(java.lang.String swarmNodeId) |
RemoveSwarmNodeCmd |
withForce(java.lang.Boolean force) |
close, registryAuth, toString
public RemoveSwarmNodeCmdImpl(RemoveSwarmNodeCmd.Exec exec, java.lang.String containerId)
@CheckForNull public java.lang.String getSwarmNodeId()
getSwarmNodeId
in interface RemoveSwarmNodeCmd
@CheckForNull public java.lang.Boolean hasForceEnabled()
hasForceEnabled
in interface RemoveSwarmNodeCmd
public RemoveSwarmNodeCmd withContainerId(@Nonnull java.lang.String swarmNodeId)
withContainerId
in interface RemoveSwarmNodeCmd
public RemoveSwarmNodeCmd withForce(java.lang.Boolean force)
withForce
in interface RemoveSwarmNodeCmd
public java.lang.Void exec() throws NotFoundException
exec
in interface RemoveSwarmNodeCmd
exec
in interface SyncDockerCmd<java.lang.Void>
exec
in class AbstrDockerCmd<RemoveSwarmNodeCmd,java.lang.Void>
NotFoundException
- No such swarmNodeCopyright © 2018. All Rights Reserved.