Package org.eclipse.jgit.pgm.opt
Class AbstractTreeIteratorHandler
- java.lang.Object
-
- org.kohsuke.args4j.spi.OptionHandler<AbstractTreeIterator>
-
- org.eclipse.jgit.pgm.opt.AbstractTreeIteratorHandler
-
public class AbstractTreeIteratorHandler extends org.kohsuke.args4j.spi.OptionHandler<AbstractTreeIterator>
Custom argument handlerAbstractTreeIterator
from string values.Assumes the parser has been initialized with a Repository.
-
-
Constructor Summary
Constructors Constructor 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.
-
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
-
AbstractTreeIteratorHandler
public 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.This constructor is used only by args4j.
- 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<AbstractTreeIterator>
- Throws:
org.kohsuke.args4j.CmdLineException
-
getDefaultMetaVariable
public String getDefaultMetaVariable()
- Specified by:
getDefaultMetaVariable
in classorg.kohsuke.args4j.spi.OptionHandler<AbstractTreeIterator>
-
-