Class CmmnEventRegistryEventConsumer
java.lang.Object
org.flowable.eventregistry.impl.consumer.BaseEventRegistryEventConsumer
org.flowable.cmmn.engine.impl.eventregistry.CmmnEventRegistryEventConsumer
- All Implemented Interfaces:
org.flowable.eventregistry.api.EventRegistryEventConsumer
- Author:
- Joram Barrez, Filip Hrisafov
-
Field Summary
FieldsFields inherited from class org.flowable.eventregistry.impl.consumer.BaseEventRegistryEventConsumer
commandExecutor, engingeConfiguration -
Constructor Summary
ConstructorsConstructorDescriptionCmmnEventRegistryEventConsumer(CmmnEngineConfiguration cmmnEngineConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionprotected longcountCaseInstances(CmmnRuntimeService cmmnRuntimeService, org.flowable.eventregistry.api.runtime.EventInstance eventInstance, CorrelationKey correlationKey, CaseDefinition caseDefinition) protected org.flowable.eventsubscription.api.EventSubscriptionQueryprotected org.flowable.eventregistry.api.EventRegistryProcessingInfoeventReceived(org.flowable.eventregistry.api.runtime.EventInstance eventInstance) protected StringgetStartCorrelationConfiguration(org.flowable.eventsubscription.api.EventSubscription eventSubscription) protected voidhandleEventSubscription(CmmnRuntimeService cmmnRuntimeService, org.flowable.eventsubscription.api.EventSubscription eventSubscription, org.flowable.eventregistry.api.runtime.EventInstance eventInstance, Collection<CorrelationKey> correlationKeys, org.flowable.eventregistry.api.EventConsumerInfo eventConsumerInfo) protected voidstartCaseInstance(CaseInstanceBuilder caseInstanceBuilder, String referenceId, String referenceType) Methods inherited from class org.flowable.eventregistry.impl.consumer.BaseEventRegistryEventConsumer
eventReceived, findEventSubscriptions, generateCorrelationKey, generateCorrelationKeys, getCorrelationKeyWithAllParameters, getEventRegistry
-
Field Details
-
cmmnEngineConfiguration
-
-
Constructor Details
-
CmmnEventRegistryEventConsumer
-
-
Method Details
-
getConsumerKey
-
eventReceived
protected org.flowable.eventregistry.api.EventRegistryProcessingInfo eventReceived(org.flowable.eventregistry.api.runtime.EventInstance eventInstance) - Specified by:
eventReceivedin classBaseEventRegistryEventConsumer
-
handleEventSubscription
protected void handleEventSubscription(CmmnRuntimeService cmmnRuntimeService, org.flowable.eventsubscription.api.EventSubscription eventSubscription, org.flowable.eventregistry.api.runtime.EventInstance eventInstance, Collection<CorrelationKey> correlationKeys, org.flowable.eventregistry.api.EventConsumerInfo eventConsumerInfo) -
countCaseInstances
protected long countCaseInstances(CmmnRuntimeService cmmnRuntimeService, org.flowable.eventregistry.api.runtime.EventInstance eventInstance, CorrelationKey correlationKey, CaseDefinition caseDefinition) -
startCaseInstance
protected void startCaseInstance(CaseInstanceBuilder caseInstanceBuilder, String referenceId, String referenceType) -
getStartCorrelationConfiguration
protected String getStartCorrelationConfiguration(org.flowable.eventsubscription.api.EventSubscription eventSubscription) -
createEventSubscriptionQuery
protected org.flowable.eventsubscription.api.EventSubscriptionQuery createEventSubscriptionQuery()- Specified by:
createEventSubscriptionQueryin classBaseEventRegistryEventConsumer
-