public class FlowableIdmEventBuilder extends Object
FlowableEvent implementations.| Constructor and Description |
|---|
FlowableIdmEventBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static FlowableEntityEvent |
createEntityEvent(FlowableIdmEventType type,
Object entity) |
static FlowableEvent |
createGlobalEvent(FlowableIdmEventType type) |
static FlowableIdmMembershipEvent |
createMembershipEvent(FlowableIdmEventType type,
String groupId,
String userId) |
public static FlowableEvent createGlobalEvent(FlowableIdmEventType type)
type - type of eventFlowableEvent that doesn't have it's execution context-fields filled, as the event is a global event, independent of any running execution.public static FlowableEntityEvent createEntityEvent(FlowableIdmEventType type, Object entity)
type - type of evententity - the entity this event targetsFlowableEntityEvent. In case an execution context is active, the execution related event fields will be populated. If not, execution details will be retrieved from the
Object if possible.public static FlowableIdmMembershipEvent createMembershipEvent(FlowableIdmEventType type, String groupId, String userId)
Copyright © 2022 Flowable. All rights reserved.