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