Interface EventModelBuilder
public interface EventModelBuilder
- Author:
- Joram Barrez
-
Method Summary
Modifier and TypeMethodDescriptionSet the category for the event deployment.correlationParameter
(String name, String type) Defines one parameters for correlation that can be used in models to map onto.org.flowable.eventregistry.model.EventModel
Creates a new event model, but does not deploy it to the Event registry engine.deploy()
Deploys a new event definition for this event model.deploymentName
(String deploymentName) Set the name for the event deployment.deploymentTenantId
(String deploymentTenantId) Set the tenant id for the event deployment.fullPayload
(String name) Defines the property name for the full payload.Defines one header element of an event definition.headerWithCorrelation
(String name, String type) Defines one header element with correlation for an event definition.Each event type will uniquely be identified with a key (similar to the key of a process/case/decision/... definition), which is typically referenced in process/case/... models.metaParameter
(String name, String type) Defines one meta parameter that can be used in models.parentDeploymentId
(String parentDeploymentId) Set the parent deployment id for the event deployment.Defines one payload element of an event definition.resourceName
(String resourceName) Set the resource name for the event model.
-
Method Details
-
key
Each event type will uniquely be identified with a key (similar to the key of a process/case/decision/... definition), which is typically referenced in process/case/... models. -
deploymentName
Set the name for the event deployment. -
resourceName
Set the resource name for the event model. -
category
Set the category for the event deployment. -
deploymentTenantId
Set the tenant id for the event deployment. -
parentDeploymentId
Set the parent deployment id for the event deployment. -
header
Defines one header element of an event definition. An header elements is data that can be used for example as metadata for an event. -
headerWithCorrelation
Defines one header element with correlation for an event definition. An header elements is data that can be used for example as metadata for an event. -
payload
Defines one payload element of an event definition. Such payload elements are data that is contained within an event. If certain payload needs to be used to correlate runtime instances, use thecorrelationParameter(String, String)
method. OneEventModel
typically has multiple such elements. -
correlationParameter
Defines one parameters for correlation that can be used in models to map onto. Each correlation parameter is automatically apayload(String, String)
element. Will create a correlationEventPayload
behind the scenes. -
metaParameter
Defines one meta parameter that can be used in models. Each meta parameter is automatically apayload(String, String)
element. -
fullPayload
Defines the property name for the full payload. -
createEventModel
org.flowable.eventregistry.model.EventModel createEventModel()Creates a new event model, but does not deploy it to the Event registry engine. -
deploy
EventDeployment deploy()Deploys a new event definition for this event model.
-