Class Network.Disconnect
- java.lang.Object
-
- com.oracle.bedrock.runtime.docker.commands.AbstractDockerCommand<C>
-
- com.oracle.bedrock.runtime.docker.commands.CommandWithArgumentList<C>
-
- com.oracle.bedrock.runtime.docker.commands.Network<Network.Disconnect>
-
- com.oracle.bedrock.runtime.docker.commands.Network.Disconnect
-
- All Implemented Interfaces:
com.oracle.bedrock.runtime.MetaClass<com.oracle.bedrock.runtime.Application>
- Enclosing class:
- Network<C extends CommandWithArgumentList>
public static class Network.Disconnect extends Network<Network.Disconnect>
A representation of the Docker Network Disconnect command.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.oracle.bedrock.runtime.docker.commands.Network
Network.Connect, Network.Create, Network.Disconnect, Network.Inspect, Network.LS, Network.Remove
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Network.Disconnectforce()Force the container to disconnect from a network (equates to the --force argument).protected Network.DisconnectwithCommandArguments(List<com.oracle.bedrock.runtime.options.Argument> endArgs, com.oracle.bedrock.runtime.options.Argument... args)Obtain a copy of thisCommandWithArgumentListwith the addition of the specified command argumentsArguments.protected Network.DisconnectwithoutCommandArguments(List<com.oracle.bedrock.runtime.options.Argument> endArgs, com.oracle.bedrock.runtime.options.Argument... args)Obtain a copy of thisCommandWithArgumentListwithout the the specified command argumentsArguments.-
Methods inherited from class com.oracle.bedrock.runtime.docker.commands.Network
connect, create, createBridge, createOverlay, disconnect, inspect, inspect, inspect, list, remove, remove
-
Methods inherited from class com.oracle.bedrock.runtime.docker.commands.CommandWithArgumentList
onLaunch, withCommandArguments, withoutCommandArguments
-
Methods inherited from class com.oracle.bedrock.runtime.docker.commands.AbstractDockerCommand
getCommandArguments, getImplementationClass, getTimeout, onLaunched, onLaunching, timeoutAfter, timeoutAfter
-
-
-
-
Method Detail
-
force
public Network.Disconnect force()
Force the container to disconnect from a network (equates to the --force argument).- Returns:
- a new
Network.Disconnectinstance that is the same as this instance with the --force option applied
-
withCommandArguments
protected Network.Disconnect withCommandArguments(List<com.oracle.bedrock.runtime.options.Argument> endArgs, com.oracle.bedrock.runtime.options.Argument... args)
Description copied from class:CommandWithArgumentListObtain a copy of thisCommandWithArgumentListwith the addition of the specified command argumentsArguments.- Specified by:
withCommandArgumentsin classCommandWithArgumentList<Network.Disconnect>- Parameters:
endArgs- theListofArgumentsthat appear at the end of the command lineargs- the new command to add- Returns:
- a copy of this
CommandWithArgumentListwith the addition of the specified command argumentsArguments
-
withoutCommandArguments
protected Network.Disconnect withoutCommandArguments(List<com.oracle.bedrock.runtime.options.Argument> endArgs, com.oracle.bedrock.runtime.options.Argument... args)
Description copied from class:CommandWithArgumentListObtain a copy of thisCommandWithArgumentListwithout the the specified command argumentsArguments.- Specified by:
withoutCommandArgumentsin classCommandWithArgumentList<Network.Disconnect>- Parameters:
endArgs- theListofArgumentsthat appear at the end of the command lineargs- the new command to add- Returns:
- a copy of this
CommandWithArgumentListwithout the specified command argumentsArguments
-
-