|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.bcel.verifier.VerificationResult
public class VerificationResult
A VerificationResult is what a PassVerifier returns after verifying.
Field Summary | |
---|---|
private java.lang.String |
detailMessage
The detailed message. |
private int |
numeric
The numeric status. |
static int |
VERIFIED_NOTYET
Constant to indicate verification has not been tried yet. |
private static java.lang.String |
VERIFIED_NOTYET_MSG
This string is the canonical message for verifications that have not been tried yet. |
static int |
VERIFIED_OK
Constant to indicate verification was passed. |
private static java.lang.String |
VERIFIED_OK_MSG
This string is the canonical message for passed verification passes. |
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. |
int |
hashCode()
|
java.lang.String |
toString()
Returns a String representation of the VerificationResult. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, 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
private static final java.lang.String VERIFIED_NOTYET_MSG
private static final java.lang.String VERIFIED_OK_MSG
public static final VerificationResult VR_NOTYET
public static final VerificationResult VR_OK
private int numeric
private java.lang.String detailMessage
Constructor Detail |
---|
public VerificationResult(int status, java.lang.String message)
Method Detail |
---|
public int getStatus()
public java.lang.String getMessage()
public int hashCode()
hashCode
in class java.lang.Object
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: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |