Interface CmmnActivityBehavior

All Known Subinterfaces:
CmmnTriggerableActivityBehavior, PlanItemActivityBehavior
All Known Implementing Classes:
CasePageTaskActivityBehaviour, CaseTaskActivityBehavior, ChildTaskActivityBehavior, ClassDelegateHttpHandler, CmmnClassDelegate, CoreCmmnActivityBehavior, CoreCmmnTriggerableActivityBehavior, DecisionTaskActivityBehavior, EventRegistryEventListenerActivityBehaviour, ExternalWorkerTaskActivityBehavior, GenericEventListenerActivityBehaviour, HumanTaskActivityBehavior, MilestoneActivityBehavior, PlanItemDelegateExpressionActivityBehavior, PlanItemExpressionActivityBehavior, PlanItemFutureJavaDelegateActivityBehavior, PlanItemJavaDelegateActivityBehavior, ProcessTaskActivityBehavior, ScriptTaskActivityBehavior, SendEventActivityBehavior, SignalEventListenerActivityBehaviour, StageActivityBehavior, TaskActivityBehavior, TimerEventListenerActivityBehaviour, UserEventListenerActivityBehaviour, VariableEventListenerActivityBehaviour

public interface CmmnActivityBehavior
Root interface for all classes implementing logic when the CMMN engine decides the behavior for a plan item needs to be executed. The main difference with the PlanItemJavaDelegate interface is that the implementation of this execute(DelegatePlanItemInstance) methods is expected to plan the next operation on the CmmnEngineAgenda, while for the PlanItemJavaDelegate the engine will automatically plan a completion after execution the logic. Concrete implementations of this class will be set on the PlanItem in the case model during parsing. Implementations of this class are assumed by the engine to not have wait state behavior, use the CmmnTriggerableActivityBehavior when this behavior is needed.
Author:
Joram Barrez
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute(DelegatePlanItemInstance delegatePlanItemInstance)