Package org.eclipse.jgit.pgm.opt
Class GpgSignHandler
- java.lang.Object
-
- org.kohsuke.args4j.spi.OptionHandler<String>
-
- org.kohsuke.args4j.spi.StringOptionHandler
-
- org.eclipse.jgit.pgm.opt.GpgSignHandler
-
public class GpgSignHandler extends org.kohsuke.args4j.spi.StringOptionHandler
Special handler for the--gpg-sign
option of thecommit
command. The following rules apply:- If no key is given, i.e. just
--gpg-sign
is passed, then it is the same as--gpg-sign=default
- Since:
- 5.3
- If no key is given, i.e. just
-
-
Constructor Summary
Constructors Constructor Description GpgSignHandler(org.kohsuke.args4j.CmdLineParser parser, org.kohsuke.args4j.OptionDef option, org.kohsuke.args4j.spi.Setter<? super String> setter)
Constructor for GpgSignHandler.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
parseArguments(org.kohsuke.args4j.spi.Parameters params)
-
-
-
Field Detail
-
DEFAULT
public static final String DEFAULT
The value "default" which will be used when just the option is specified without any argument- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GpgSignHandler
public GpgSignHandler(org.kohsuke.args4j.CmdLineParser parser, org.kohsuke.args4j.OptionDef option, org.kohsuke.args4j.spi.Setter<? super String> setter)
Constructor for GpgSignHandler.
- Parameters:
parser
- The parser to which this handler belongs.option
- The annotation.setter
- Object to be used for setting value.
-
-