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 boolean
annotated
private boolean
delete
private boolean
force
private java.lang.String
gpgKeyId
private java.lang.String
message
private boolean
noSign
private ObjectId
object
private boolean
sign
private java.lang.String
tagName
private boolean
verify
-
Constructor Summary
Constructors Constructor Description Tag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
run()
Perform the actions of this command.private void
showTag(RevTag tag)
private void
showUnsigned(Git git, java.lang.String wantedTag)
private void
writeVerification(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:
run
in 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
-
-