Package org.eclipse.jgit.api
Class VerifySignatureCommand.Result
- java.lang.Object
-
- org.eclipse.jgit.api.VerifySignatureCommand.Result
-
- All Implemented Interfaces:
VerificationResult
- Enclosing class:
- VerifySignatureCommand
private static class VerifySignatureCommand.Result extends java.lang.Object implements VerificationResult
-
-
Field Summary
Fields Modifier and Type Field Description private RevObject
object
private java.lang.Throwable
throwable
private GpgSignatureVerifier.SignatureVerification
verification
-
Constructor Summary
Constructors Constructor Description Result(RevObject object, GpgSignatureVerifier.SignatureVerification verification, java.lang.Throwable throwable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Throwable
getException()
If an error occurred during signature verification, this retrieves the exception.RevObject
getObject()
Retrieves the git object of which the signature was verified.GpgSignatureVerifier.SignatureVerification
getVerification()
Retrieves the signature verification result.
-
-
-
Field Detail
-
throwable
private final java.lang.Throwable throwable
-
verification
private final GpgSignatureVerifier.SignatureVerification verification
-
object
private final RevObject object
-
-
Constructor Detail
-
Result
public Result(RevObject object, GpgSignatureVerifier.SignatureVerification verification, java.lang.Throwable throwable)
-
-
Method Detail
-
getException
public java.lang.Throwable getException()
Description copied from interface:VerificationResult
If an error occurred during signature verification, this retrieves the exception.- Specified by:
getException
in interfaceVerificationResult
- Returns:
- the exception, or
null
if none occurred
-
getVerification
public GpgSignatureVerifier.SignatureVerification getVerification()
Description copied from interface:VerificationResult
Retrieves the signature verification result.- Specified by:
getVerification
in interfaceVerificationResult
- Returns:
- the result, or
null
if none was computed
-
getObject
public RevObject getObject()
Description copied from interface:VerificationResult
Retrieves the git object of which the signature was verified.- Specified by:
getObject
in interfaceVerificationResult
- Returns:
- the git object
-
-