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
FieldsModifier and TypeFieldDescriptionprivate final String
The detailed message.private final int
The numeric status.static final int
Constant to indicate verification has not been tried yet.private static final String
This string is the canonical message for verifications that have not been tried yet.static final int
Constant to indicate verification was passed.private static final String
This string is the canonical message for passed verification passes.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
Constructors -
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:
-
VERIFIED_NOTYET_MSG
This string is the canonical message for verifications that have not been tried yet. This happens if some earlier verification pass did not returnVERIFIED_OK
.- See Also:
-
VERIFIED_OK_MSG
This string is the canonical message for passed verification passes.- 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. -
numeric
private final int numericThe numeric status. -
detailMessage
The detailed message.
-
-
Constructor Details
-
VerificationResult
The usual constructor.
-
-
Method Details
-
equals
Returns if two VerificationResult instances are equal. -
getMessage
Returns a detailed message. -
getStatus
public int getStatus() -
hashCode
public int hashCode() -
toString
Returns a String representation of the VerificationResult.
-