public static enum Assertion.Result extends Enum<Assertion.Result>
Enum Constant and Description |
---|
FAILED
Indicates the assertion failed.
|
NAN
Indicates the assertion failed because the data was not a number.
|
NO_DATA
Indicates there was no data to validate.
|
OK
Indicates the assertion succeeded.
|
Modifier and Type | Method and Description |
---|---|
static Assertion.Result |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Assertion.Result[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Assertion.Result OK
public static final Assertion.Result FAILED
public static final Assertion.Result NO_DATA
public static final Assertion.Result NAN
public static Assertion.Result[] values()
for (Assertion.Result c : Assertion.Result.values()) System.out.println(c);
public static Assertion.Result valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is null