class OptionAccessor extends Object
Type | Name and description |
---|---|
CommandLine |
commandLine |
Map<String, TypedOption> |
savedTypeOptions |
Constructor and description |
---|
OptionAccessor (CommandLine commandLine) |
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-2025 The Apache Software Foundation. All rights reserved.