public static enum HistoryJobProcessorContext.Phase extends Enum<HistoryJobProcessorContext.Phase>
| Enum Constant and Description |
|---|
BEFORE_CREATE
The history job is in this phase before it gets created.
|
BEFORE_EXECUTE
The history job is in this phase before it gets executed.
|
| Modifier and Type | Method and Description |
|---|---|
static HistoryJobProcessorContext.Phase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HistoryJobProcessorContext.Phase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HistoryJobProcessorContext.Phase BEFORE_CREATE
HistoryJobProcessorContext.getHistoryJobEntity() can therefore be modified before it gets persisted.public static final HistoryJobProcessorContext.Phase BEFORE_EXECUTE
AsyncExecutor meaning that the history job is executed
in another thread.public static HistoryJobProcessorContext.Phase[] values()
for (HistoryJobProcessorContext.Phase c : HistoryJobProcessorContext.Phase.values()) System.out.println(c);
public static HistoryJobProcessorContext.Phase 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 © 2021 Flowable. All rights reserved.