public static enum BlockManager.Action extends java.lang.Enum<BlockManager.Action>
| Enum Constant and Description |
|---|
LEAVE |
NEXT |
RETRY |
RETURN_CONSUME |
RETURN_ERROR |
RETURN_NORMAL |
THROW |
| Modifier and Type | Method and Description |
|---|---|
static BlockManager.Action |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BlockManager.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockManager.Action LEAVE
public static final BlockManager.Action NEXT
public static final BlockManager.Action RETRY
public static final BlockManager.Action RETURN_NORMAL
public static final BlockManager.Action RETURN_CONSUME
public static final BlockManager.Action RETURN_ERROR
public static final BlockManager.Action THROW
public static BlockManager.Action[] values()
for (BlockManager.Action c : BlockManager.Action.values()) System.out.println(c);
public static BlockManager.Action 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