public enum ExceptionPolicy extends Enum<ExceptionPolicy>
Enum Constant and Description |
---|
NONE
Do nothing on exception.
|
REFIRE_IMMEDIATELY
Immediately re-execute the task.
|
UNSCHEDULE_ALL_TRIGGERS
Unschedule all the triggers associated to a task.
|
UNSCHEDULE_FIRING_TRIGGER
Unschedule the trigger which fire the task.
|
Modifier and Type | Method and Description |
---|---|
static ExceptionPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExceptionPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExceptionPolicy REFIRE_IMMEDIATELY
public static final ExceptionPolicy UNSCHEDULE_FIRING_TRIGGER
public static final ExceptionPolicy UNSCHEDULE_ALL_TRIGGERS
public static final ExceptionPolicy NONE
public static ExceptionPolicy[] values()
for (ExceptionPolicy c : ExceptionPolicy.values()) System.out.println(c);
public static ExceptionPolicy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2013-2018–2019 SeedStack. All rights reserved.