Package | Description |
---|---|
org.kohsuke.args4j |
Core classes of the Args4J command line parser.
|
org.kohsuke.args4j.spi |
Classes for extending the behavior of args4j.
|
Modifier and Type | Method and Description |
---|---|
void |
CmdLineParser.addArgument(Setter setter,
Argument a)
Programmatically defines an argument (instead of reading it from annotations as normal).
|
void |
CmdLineParser.addOption(Setter setter,
Option o)
Programmatically defines an option (instead of reading it from annotations as normal).
|
protected OptionHandler |
OptionHandlerRegistry.createOptionHandler(CmdLineParser parser,
OptionDef o,
Setter setter)
|
protected OptionHandler |
CmdLineParser.createOptionHandler(OptionDef o,
Setter setter)
|
OptionHandler<?> |
OptionHandlerRegistry.OptionHandlerFactory.getHandler(CmdLineParser parser,
OptionDef o,
Setter setter)
Provide a handler instance to use.
|
Modifier and Type | Class and Description |
---|---|
class |
FieldSetter
|
class |
MethodSetter
|
Modifier and Type | Field and Description |
---|---|
Setter<? super T> |
OptionHandler.setter
Object to be used for setting value.
|
Modifier and Type | Method and Description |
---|---|
static Setter |
Setters.create(CmdLineParser parser,
AccessibleObject fieldOrMethod,
Object bean) |
static Setter |
Setters.create(Field f,
Object bean) |
Copyright © 2003-2016 Kohsuke Kawaguchi. All Rights Reserved.