org.eclipse.jgit.revwalk.RevCommit from
string values.
Assumes the parser has been initialized with a Repository.
| Modifier and Type | Field and Description |
|---|---|
| private final CmdLineParser |
| Access | Constructor and Description |
|---|---|
| public | RevCommitHandler(final CmdLineParser
a parser, final OptionDef org. object.a option, final Setter<? super RevCommit> org. object.a setter)org. object.Create a new handler for the command name. |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public String | getDefaultMetaVariable()
Implements abstract org. Gets the default meta variable name used to print the usage screen. |
| public int | parseArguments(Parameters
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. params)Implements abstract org. Called if the option that this owner recognizes is found. |
| clp | back to summary |
|---|---|
| private final CmdLineParser clp | |
| RevCommitHandler | back to summary |
|---|---|
| public RevCommitHandler(final CmdLineParser parser, final OptionDef option, final Setter<? super RevCommit> setter) Create a new handler for the command name. This constructor is used only by args4j.
| |
| addOne | back to summary |
|---|---|
| private void addOne(String name, boolean interesting) throws CmdLineException | |
| getDefaultMetaVariable | back to summary |
|---|---|
| public String getDefaultMetaVariable() Implements abstract org. Doc from org. Gets the default meta variable name used to print the usage screen.
The value returned by this method can be a reference in the
| |
| parseArguments | back to summary |
|---|---|
| public int parseArguments(Parameters params) throws CmdLineException Implements abstract org. Doc from org. Called if the option that this owner recognizes is found.
| |