javax.constraints.extra
Enum PropagationEvent
java.lang.Object
java.lang.Enum<PropagationEvent>
javax.constraints.extra.PropagationEvent
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<PropagationEvent>
public enum PropagationEvent
- extends java.lang.Enum<PropagationEvent>
|
Method Summary |
static PropagationEvent |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PropagationEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
| Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
ANY
public static final PropagationEvent ANY
MAX
public static final PropagationEvent MAX
MIN
public static final PropagationEvent MIN
RANGE
public static final PropagationEvent RANGE
REMOVE
public static final PropagationEvent REMOVE
VALUE
public static final PropagationEvent VALUE
valueOf
public static PropagationEvent valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
values
public static PropagationEvent[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (PropagationEvent c : PropagationEvent.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared