public class AbstractTreeIteratorHandler extends org.kohsuke.args4j.spi.OptionHandler<AbstractTreeIterator>
AbstractTreeIterator
from string values.
Assumes the parser has been initialized with a Repository.
Constructor and Description |
---|
AbstractTreeIteratorHandler(org.kohsuke.args4j.CmdLineParser parser,
org.kohsuke.args4j.OptionDef option,
org.kohsuke.args4j.spi.Setter<? super AbstractTreeIterator> setter)
Create a new handler for the command name.
|
Modifier and Type | Method and Description |
---|---|
String |
getDefaultMetaVariable() |
int |
parseArguments(org.kohsuke.args4j.spi.Parameters params) |
public AbstractTreeIteratorHandler(org.kohsuke.args4j.CmdLineParser parser, org.kohsuke.args4j.OptionDef option, org.kohsuke.args4j.spi.Setter<? super AbstractTreeIterator> setter)
This constructor is used only by args4j.
parser
- a CmdLineParser
object.option
- a OptionDef
object.setter
- a Setter
object.public int parseArguments(org.kohsuke.args4j.spi.Parameters params) throws org.kohsuke.args4j.CmdLineException
parseArguments
in class org.kohsuke.args4j.spi.OptionHandler<AbstractTreeIterator>
org.kohsuke.args4j.CmdLineException
public String getDefaultMetaVariable()
getDefaultMetaVariable
in class org.kohsuke.args4j.spi.OptionHandler<AbstractTreeIterator>
Copyright © 2017 Eclipse JGit Project. All rights reserved.