|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kohsuke.args4j.spi.OptionHandler<java.util.Map<?,?>>
org.kohsuke.args4j.spi.MapOptionHandler
public class MapOptionHandler
Field Summary |
---|
Fields inherited from class org.kohsuke.args4j.spi.OptionHandler |
---|
option, owner, setter |
Constructor Summary | |
---|---|
MapOptionHandler(CmdLineParser parser,
OptionDef option,
Setter<? super java.util.Map<?,?>> setter)
|
Method Summary | |
---|---|
java.lang.String |
getDefaultMetaVariable()
Gets the default meta variable name used to print the usage screen. |
int |
parseArguments(Parameters params)
Called if the option that this owner recognizes is found. |
Methods inherited from class org.kohsuke.args4j.spi.OptionHandler |
---|
getMetaVariable, getNameAndMeta |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MapOptionHandler(CmdLineParser parser, OptionDef option, Setter<? super java.util.Map<?,?>> setter)
Method Detail |
---|
public java.lang.String getDefaultMetaVariable()
OptionHandler
getDefaultMetaVariable
in class OptionHandler<java.util.Map<?,?>>
public int parseArguments(Parameters params) throws CmdLineException
OptionHandler
parseArguments
in class OptionHandler<java.util.Map<?,?>>
params
- The rest of the arguments. This method can use this
object to access the arguments of the option if necessary.
The object is valid only during the method call.
CmdLineException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |