|
||||||||||
| 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 | |
|---|---|
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,
String message)
The usual constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Returns if two VerificationResult instances are equal. |
String |
getMessage()
Returns a detailed message. |
int |
getStatus()
Returns one one the VERIFIED_OK, VERIFIED_NOTYET, VERIFIED_REJECTED constants. |
int |
hashCode()
|
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
public static final VerificationResult VR_NOTYET
public static final VerificationResult VR_OK
| Constructor Detail |
|---|
public VerificationResult(int status,
String message)
| Method Detail |
|---|
public int getStatus()
public String getMessage()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object o)
equals in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||