Class Network.LS
- 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.LS>
-
- com.oracle.bedrock.runtime.docker.commands.Network.LS
-
- All Implemented Interfaces:
com.oracle.bedrock.runtime.MetaClass<com.oracle.bedrock.runtime.Application>
- Enclosing class:
- Network<C extends CommandWithArgumentList>
public static class Network.LS extends Network<Network.LS>
A representation of the Docker Network LS 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.LSfilter(Object... filters)Filter the network list (equates to the --filter argument).Network.LSnoTruncate()Do not truncate output, equates to the --no-trunc argument.Network.LSquiet()Only show numeric IDs, equates to the --quiet argument.protected Network.LSwithCommandArguments(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.LSwithoutCommandArguments(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
-
filter
public Network.LS filter(Object... filters)
Filter the network list (equates to the --filter argument).- Parameters:
filters- values that resolve to one or more valid filter arguments- Returns:
- a new
Network.LSinstance that is the same as this instance with the --filter option applied
-
noTruncate
public Network.LS noTruncate()
Do not truncate output, equates to the --no-trunc argument.- Returns:
- a new
Network.LSinstance that is the same as this instance with the --no-trunc option applied
-
quiet
public Network.LS quiet()
Only show numeric IDs, equates to the --quiet argument.- Returns:
- a new
Network.LSinstance that is the same as this instance with the --quiet option applied
-
withCommandArguments
protected Network.LS 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.LS>- 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.LS 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.LS>- 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
-
-