public enum PushReaction extends java.lang.Enum<PushReaction>
| Enum Constant and Description |
|---|
BLOCK |
DESTROY |
IGNORE |
NORMAL |
PUSH_ONLY |
| Modifier and Type | Method and Description |
|---|---|
static PushReaction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PushReaction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PushReaction NORMAL
public static final PushReaction DESTROY
public static final PushReaction BLOCK
public static final PushReaction IGNORE
public static final PushReaction PUSH_ONLY
public static PushReaction[] values()
for (PushReaction c : PushReaction.values()) System.out.println(c);
public static PushReaction 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 null