public final class CommandLineOptions
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static CommandLineOptions |
defaultArgs()
Create a CommandLineOptions with default args (read from system property)
|
java.util.List<java.lang.String> |
getConfigs() |
static CommandLineOptions |
of(java.util.List<java.lang.String> configs)
Create a CommandLineOptions using the supplied list of pre-parsed configs
|
static CommandLineOptions |
ofArgs(java.util.List<java.lang.String> args)
Create a CommandLineOptions using the supplied unparsed argument list.
|
public java.util.List<java.lang.String> getConfigs()
public static CommandLineOptions defaultArgs()
public static CommandLineOptions ofArgs(java.util.List<java.lang.String> args)
args - Argument list to parse, can be nullpublic static CommandLineOptions of(java.util.List<java.lang.String> configs)
configs - List of configs