public enum State extends java.lang.Enum<State>
| Enum Constant and Description |
|---|
SATISFIED |
VIOLATED |
VIOLATED_TEMPORARY |
| Modifier and Type | Method and Description |
|---|---|
static State |
getDefault()
Returns the default state, i.e., the state which should be assigned to
constraints by default.
|
java.lang.String |
getDescription()
Provides the textual description of the state.
|
static State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final State SATISFIED
public static final State VIOLATED_TEMPORARY
public static final State VIOLATED
public static State[] values()
for (State c : State.values()) System.out.println(c);
public static State valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static State getDefault()
public java.lang.String getDescription()