public class VerificationResult
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
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 | Description |
---|---|
VerificationResult(int status,
java.lang.String message) |
The usual constructor.
|
Modifier and Type | Method | Description |
---|---|---|
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.
|
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
public VerificationResult(int status, java.lang.String message)
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