Package org.eclipse.jgit.pgm.opt
Class UntrackedFilesHandler
- java.lang.Object
-
- org.kohsuke.args4j.spi.OptionHandler<String>
-
- org.kohsuke.args4j.spi.StringOptionHandler
-
- org.eclipse.jgit.pgm.opt.UntrackedFilesHandler
-
public class UntrackedFilesHandler extends org.kohsuke.args4j.spi.StringOptionHandler
Special handler for the--untracked-files
option of thestatus
command. The following rules apply:- If no mode is given, i.e. just
--untracked-files
is passed, then it is the same as--untracked-files=all
- If the
-u
alias is passed then it is the same as--untracked-files
- If the
-uno
alias is passed then it is the same as--untracked-files=no
- If the
-uall
alias is passed then it is the same as--untracked-files=all
- Since:
- 4.0
- If no mode is given, i.e. just
-
-
Constructor Summary
Constructors Constructor Description UntrackedFilesHandler(org.kohsuke.args4j.CmdLineParser parser, org.kohsuke.args4j.OptionDef option, org.kohsuke.args4j.spi.Setter<? super String> setter)
Constructor for UntrackedFilesHandler.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
parseArguments(org.kohsuke.args4j.spi.Parameters params)
-
-
-
Constructor Detail
-
UntrackedFilesHandler
public UntrackedFilesHandler(org.kohsuke.args4j.CmdLineParser parser, org.kohsuke.args4j.OptionDef option, org.kohsuke.args4j.spi.Setter<? super String> setter)
Constructor for UntrackedFilesHandler.
- Parameters:
parser
- The parser to which this handler belongs to.option
- The annotation.setter
- Object to be used for setting value.
-
-