|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.bcel.verifier.VerificationResult
A VerificationResult is what a PassVerifier returns after verifying.
Field Summary | |
static int |
VERIFIED_NOTYET
Constant to indicate verification has not been tried yet. |
static int |
VERIFIED_OK
Constant to indicate verification was passed. |
static int |
VERIFIED_REJECTED
Constant to indicate verfication failed. |
static VerificationResult |
VR_NOTYET
Canonical VerificationResult for not-yet-tried verifications. |
static VerificationResult |
VR_OK
Canonical VerificationResult for passed verifications. |
Constructor Summary | |
VerificationResult(int status,
java.lang.String message)
The usual constructor. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Returns if two VerificationResult instances are equal. |
java.lang.String |
getMessage()
Returns a detailed message. |
int |
getStatus()
Returns one one the VERIFIED_OK, VERIFIED_NOTYET, VERIFIED_REJECTED constants. |
java.lang.String |
toString()
Returns a String representation of the VerificationResult. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int VERIFIED_NOTYET
public static final int VERIFIED_OK
public static final int VERIFIED_REJECTED
public static final VerificationResult VR_NOTYET
public static final VerificationResult VR_OK
Constructor Detail |
public VerificationResult(int status, java.lang.String message)
Method Detail |
public int getStatus()
public java.lang.String getMessage()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |