org.apache.bcel.verifier
public class VerificationResult extends Object
Modifier and Type | Field and Description |
---|---|
private 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 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 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 and Description |
---|
VerificationResult(int status,
String message)
The usual constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final int VERIFIED_NOTYET
public static final int VERIFIED_OK
public static final int VERIFIED_REJECTED
private static final String VERIFIED_NOTYET_MSG
private static final String VERIFIED_OK_MSG
public static final VerificationResult VR_NOTYET
public static final VerificationResult VR_OK
private int numeric
private String detailMessage
public VerificationResult(int status, String message)
public int getStatus()
public String getMessage()
public int hashCode()
public boolean equals(Object o)