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