class OptionAccessor extends Object
Type | Name and description |
---|---|
CommandLine.ParseResult |
parseResult |
Map<String, TypedOption> |
savedTypeOptions |
Constructor and description |
---|
OptionAccessor
(CommandLine.ParseResult parseResult) |
Type Params | Return Type | Name and description |
---|---|---|
|
List<String> |
arguments() |
<T> |
T |
defaultValue(String name) |
<T> |
T |
getAt(TypedOption<T> typedOption) |
<T> |
T |
getAt(TypedOption<T> typedOption, T defaultValue) |
|
Properties |
getOptionProperties(String name) |
<T> |
T |
getOptionValue(TypedOption<T> typedOption) |
<T> |
T |
getOptionValue(TypedOption<T> typedOption, T defaultValue) |
|
Object |
getProperty(String name) |
|
boolean |
hasOption(TypedOption typedOption) |
|
Object |
invokeMethod(String name, Object args) |
Copyright © 2003-2020 The Apache Software Foundation. All rights reserved.