public class RemoveSwarmNodeCmdImpl extends AbstrDockerCmd<RemoveSwarmNodeCmd,Void> implements RemoveSwarmNodeCmd
RemoveSwarmNodeCmd.Execexecution| Constructor and Description |
|---|
RemoveSwarmNodeCmdImpl(RemoveSwarmNodeCmd.Exec exec,
String swarmNodeId) |
| Modifier and Type | Method and Description |
|---|---|
Void |
exec() |
String |
getSwarmNodeId() |
Boolean |
hasForceEnabled() |
RemoveSwarmNodeCmd |
withForce(Boolean force) |
RemoveSwarmNodeCmd |
withSwarmNodeId(String swarmNodeId) |
close, registryAuth, toStringpublic RemoveSwarmNodeCmdImpl(RemoveSwarmNodeCmd.Exec exec, String swarmNodeId)
@CheckForNull public String getSwarmNodeId()
getSwarmNodeId in interface RemoveSwarmNodeCmd@CheckForNull public Boolean hasForceEnabled()
hasForceEnabled in interface RemoveSwarmNodeCmdpublic RemoveSwarmNodeCmd withSwarmNodeId(@Nonnull String swarmNodeId)
withSwarmNodeId in interface RemoveSwarmNodeCmdpublic RemoveSwarmNodeCmd withForce(Boolean force)
withForce in interface RemoveSwarmNodeCmdpublic Void exec() throws NotFoundException
exec in interface RemoveSwarmNodeCmdexec in interface SyncDockerCmd<Void>exec in class AbstrDockerCmd<RemoveSwarmNodeCmd,Void>NotFoundException - No such swarmNodeCopyright © 2025. All rights reserved.