Package org.eclipse.jgit.api
Class VerifySignatureCommand.Result
java.lang.Object
org.eclipse.jgit.api.VerifySignatureCommand.Result
- All Implemented Interfaces:
VerificationResult
- Enclosing class:
- VerifySignatureCommand
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final RevObjectprivate final Throwableprivate final GpgSignatureVerifier.SignatureVerification -
Constructor Summary
ConstructorsConstructorDescriptionResult(RevObject object, GpgSignatureVerifier.SignatureVerification verification, Throwable throwable) -
Method Summary
Modifier and TypeMethodDescriptionIf an error occurred during signature verification, this retrieves the exception.Retrieves the git object of which the signature was verified.Retrieves the signature verification result.
-
Field Details
-
throwable
-
verification
-
object
-
-
Constructor Details
-
Result
public Result(RevObject object, GpgSignatureVerifier.SignatureVerification verification, Throwable throwable)
-
-
Method Details
-
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
Description copied from interface:VerificationResultRetrieves the signature verification result.- Specified by:
getVerificationin interfaceVerificationResult- Returns:
- the result, or
nullif none was computed
-
getObject
Description copied from interface:VerificationResultRetrieves the git object of which the signature was verified.- Specified by:
getObjectin interfaceVerificationResult- Returns:
- the git object
-