Package org.apache.bcel.verifier
Class VerificationResult
java.lang.Object
org.apache.bcel.verifier.VerificationResult
A VerificationResult is what a PassVerifier returns
after verifying.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Constant to indicate verification has not been tried yet.static final int
Constant to indicate verification was passed.static final int
Constant to indicate verfication failed.static final VerificationResult
Canonical VerificationResult for not-yet-tried verifications.static final VerificationResult
Canonical VerificationResult for passed verifications. -
Constructor Summary
-
Method Summary
-
Field Details
-
VERIFIED_NOTYET
public static final int VERIFIED_NOTYETConstant to indicate verification has not been tried yet. This happens if some earlier verification pass did not return VERIFIED_OK.- See Also:
-
VERIFIED_OK
public static final int VERIFIED_OKConstant to indicate verification was passed.- See Also:
-
VERIFIED_REJECTED
public static final int VERIFIED_REJECTEDConstant to indicate verfication failed.- See Also:
-
VR_NOTYET
Canonical VerificationResult for not-yet-tried verifications. This happens if some earlier verification pass did not returnVERIFIED_OK
. -
VR_OK
Canonical VerificationResult for passed verifications.
-
-
Constructor Details
-
VerificationResult
The usual constructor.
-
-
Method Details
-
getStatus
public int getStatus() -
getMessage
Returns a detailed message. -
hashCode
public int hashCode() -
equals
Returns if two VerificationResult instances are equal. -
toString
Returns a String representation of the VerificationResult.
-