public class FlowableJobEventBuilder extends Object
FlowableEvent implementations.| Constructor and Description |
|---|
FlowableJobEventBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static FlowableEntityEvent |
createEntityEvent(FlowableEngineEventType type,
Object entity) |
static FlowableEntityEvent |
createEntityExceptionEvent(FlowableEngineEventType type,
Object entity,
Throwable cause) |
protected static void |
populateEventWithCurrentContext(FlowableEngineEventImpl event) |
public static FlowableEntityEvent createEntityEvent(FlowableEngineEventType type, Object entity)
type - type of evententity - the entity this event targetsFlowableEntityEvent.public static FlowableEntityEvent createEntityExceptionEvent(FlowableEngineEventType type, Object entity, Throwable cause)
type - type of evententity - the entity this event targetscause - the cause of the eventFlowableEntityEvent that is also instance of FlowableExceptionEvent. In case an ExecutionContext is active, the execution related event fields will be
populated.protected static void populateEventWithCurrentContext(FlowableEngineEventImpl event)
Copyright © 2021 Flowable. All rights reserved.