public class RemoveVolumeCmdImpl extends AbstrDockerCmd<RemoveVolumeCmd,java.lang.Void> implements RemoveVolumeCmd
RemoveVolumeCmd.Exec
execution
Constructor and Description |
---|
RemoveVolumeCmdImpl(RemoveVolumeCmd.Exec exec,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
java.lang.Void |
exec() |
java.lang.String |
getName() |
RemoveVolumeCmd |
withName(java.lang.String name) |
close, registryAuth, toString
public RemoveVolumeCmdImpl(RemoveVolumeCmd.Exec exec, java.lang.String name)
public java.lang.String getName()
getName
in interface RemoveVolumeCmd
public RemoveVolumeCmd withName(java.lang.String name)
withName
in interface RemoveVolumeCmd
public java.lang.Void exec() throws NotFoundException
exec
in interface RemoveVolumeCmd
exec
in interface SyncDockerCmd<java.lang.Void>
exec
in class AbstrDockerCmd<RemoveVolumeCmd,java.lang.Void>
NotFoundException
- No such volumeCopyright © 2019. All Rights Reserved.