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 RevObjectobjectprivate java.lang.Throwablethrowableprivate GpgSignatureVerifier.SignatureVerificationverification
-
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.ThrowablegetException()If an error occurred during signature verification, this retrieves the exception.RevObjectgetObject()Retrieves the git object of which the signature was verified.GpgSignatureVerifier.SignatureVerificationgetVerification()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:VerificationResultIf an error occurred during signature verification, this retrieves the exception.- Specified by:
getExceptionin interfaceVerificationResult- Returns:
- the exception, or
nullif none occurred
-
getVerification
public GpgSignatureVerifier.SignatureVerification getVerification()
Description copied from interface:VerificationResultRetrieves the signature verification result.- Specified by:
getVerificationin interfaceVerificationResult- Returns:
- the result, or
nullif none was computed
-
getObject
public RevObject getObject()
Description copied from interface:VerificationResultRetrieves the git object of which the signature was verified.- Specified by:
getObjectin interfaceVerificationResult- Returns:
- the git object
-
-