class OptionAccessor extends Object
Type | Name and description |
---|---|
private CommandLine |
commandLine |
private Map<String, TypedOption> |
savedTypeOptions |
Constructor and description |
---|
OptionAccessor
(CommandLine commandLine) |
OptionAccessor
() |
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) |
<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.