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
public class CmmnEventRegistryEventConsumer extends BaseEventRegistryEventConsumer
- Author:
- Joram Barrez, Filip Hrisafov
-
-
Field Summary
Fields Modifier and Type Field Description protected CmmnEngineConfigurationcmmnEngineConfiguration-
Fields inherited from class org.flowable.eventregistry.impl.consumer.BaseEventRegistryEventConsumer
commandExecutor, engingeConfiguration
-
-
Constructor Summary
Constructors Constructor Description CmmnEventRegistryEventConsumer(CmmnEngineConfiguration cmmnEngineConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected longcountCaseInstances(CmmnRuntimeService cmmnRuntimeService, org.flowable.eventregistry.api.runtime.EventInstance eventInstance, CorrelationKey correlationKey, CaseDefinition caseDefinition)protected org.flowable.eventsubscription.api.EventSubscriptionQuerycreateEventSubscriptionQuery()protected org.flowable.eventregistry.api.EventRegistryProcessingInfoeventReceived(org.flowable.eventregistry.api.runtime.EventInstance eventInstance)StringgetConsumerKey()protected StringgetStartCorrelationConfiguration(org.flowable.eventsubscription.api.EventSubscription eventSubscription)protected booleanhandleEventSubscription(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 Detail
-
cmmnEngineConfiguration
protected CmmnEngineConfiguration cmmnEngineConfiguration
-
-
Constructor Detail
-
CmmnEventRegistryEventConsumer
public CmmnEventRegistryEventConsumer(CmmnEngineConfiguration cmmnEngineConfiguration)
-
-
Method Detail
-
getConsumerKey
public String getConsumerKey()
-
eventReceived
protected org.flowable.eventregistry.api.EventRegistryProcessingInfo eventReceived(org.flowable.eventregistry.api.runtime.EventInstance eventInstance)
- Specified by:
eventReceivedin classBaseEventRegistryEventConsumer
-
handleEventSubscription
protected boolean 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
-
-