| Modifier and Type | Method and Description |
|---|---|
OptionPriority |
OptionsParser.OptionValueDescription.getPriority() |
static OptionPriority |
OptionPriority.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OptionPriority[] |
OptionPriority.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
OptionsParser.parse(OptionPriority priority,
String source,
List<String> args)
Parses
args, using the classes registered with this parser. |
void |
OptionsParser.parseAndExitUponError(OptionPriority priority,
String source,
String[] args)
A convenience function for use in main methods.
|
void |
OptionsParser.parseWithSourceFunction(OptionPriority priority,
com.google.common.base.Function<? super String,String> sourceFunction,
List<String> args)
Parses
args, using the classes registered with this parser. |
| Constructor and Description |
|---|
OptionValueDescription(String name,
Object value,
OptionPriority priority,
String source,
String implicitDependant,
String expandedFrom) |
UnparsedOptionValueDescription(String name,
Field field,
String unparsedValue,
OptionPriority priority,
String source,
boolean explicit) |
Copyright © 2016. All rights reserved.