Package org.eclipse.jgit.pgm
Class Tag
- java.lang.Object
-
- org.eclipse.jgit.pgm.TextBuiltin
-
- org.eclipse.jgit.pgm.Tag
-
class Tag extends TextBuiltin
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.jgit.pgm.TextBuiltin
TextBuiltin.TerminatedByHelpException
-
-
Field Summary
Fields Modifier and Type Field Description private booleanannotatedprivate booleandeleteprivate booleanforceprivate java.lang.StringgpgKeyIdprivate java.lang.Stringmessageprivate booleannoSignprivate ObjectIdobjectprivate booleansignprivate java.lang.StringtagNameprivate booleanverify
-
Constructor Summary
Constructors Constructor Description Tag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidrun()Perform the actions of this command.private voidshowTag(RevTag tag)private voidshowUnsigned(Git git, java.lang.String wantedTag)private voidwriteVerification(java.lang.String name, RevTag tag, GpgSignatureVerifier.SignatureVerification verification)-
Methods inherited from class org.eclipse.jgit.pgm.TextBuiltin
abbreviateRef, containsHelp, die, die, die, die, execute, getErrorWriter, getOutputWriter, getRepository, getResourceBundle, init, initRaw, parseArguments, printUsage, printUsageAndExit, printUsageAndExit, requiresRepository, resolve, setCommandName
-
-
-
-
Field Detail
-
force
private boolean force
-
delete
private boolean delete
-
annotated
private boolean annotated
-
message
private java.lang.String message
-
sign
private boolean sign
-
noSign
private boolean noSign
-
gpgKeyId
private java.lang.String gpgKeyId
-
verify
private boolean verify
-
tagName
private java.lang.String tagName
-
object
private ObjectId object
-
-
Method Detail
-
run
protected void run()
Perform the actions of this command.This method should only be invoked by
TextBuiltin.execute(String[]).- Specified by:
runin classTextBuiltin
-
showUnsigned
private void showUnsigned(Git git, java.lang.String wantedTag) throws java.io.IOException
- Throws:
java.io.IOException
-
showTag
private void showTag(RevTag tag) throws java.io.IOException
- Throws:
java.io.IOException
-
writeVerification
private void writeVerification(java.lang.String name, RevTag tag, GpgSignatureVerifier.SignatureVerification verification) throws java.io.IOException- Throws:
java.io.IOException
-
-