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 RevObject
private final Throwable
private 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: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
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
Description copied from interface:VerificationResult
Retrieves the git object of which the signature was verified.- Specified by:
getObject
in interfaceVerificationResult
- Returns:
- the git object
-