Package org.eclipse.jgit.pgm.opt
Class OptionWithValuesListHandler
- java.lang.Object
-
- org.kohsuke.args4j.spi.OptionHandler<List<?>>
-
- org.eclipse.jgit.pgm.opt.OptionWithValuesListHandler
-
public class OptionWithValuesListHandler extends org.kohsuke.args4j.spi.OptionHandler<List<?>>
Handler which allows to parse option with few values- Since:
- 4.2
-
-
Constructor Summary
Constructors Constructor Description OptionWithValuesListHandler(org.kohsuke.args4j.CmdLineParser parser, org.kohsuke.args4j.OptionDef option, org.kohsuke.args4j.spi.Setter<List<?>> setter)
Constructor for OptionWithValuesListHandler.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDefaultMetaVariable()
int
parseArguments(org.kohsuke.args4j.spi.Parameters params)
-
-
-
Constructor Detail
-
OptionWithValuesListHandler
public OptionWithValuesListHandler(org.kohsuke.args4j.CmdLineParser parser, org.kohsuke.args4j.OptionDef option, org.kohsuke.args4j.spi.Setter<List<?>> setter)
Constructor for OptionWithValuesListHandler.- Parameters:
parser
- aCmdLineParser
object.option
- aOptionDef
object.setter
- aSetter
object.
-
-
Method Detail
-
parseArguments
public int parseArguments(org.kohsuke.args4j.spi.Parameters params) throws org.kohsuke.args4j.CmdLineException
- Specified by:
parseArguments
in classorg.kohsuke.args4j.spi.OptionHandler<List<?>>
- Throws:
org.kohsuke.args4j.CmdLineException
-
-