Class DefaultConditionHandler
java.lang.Object
org.camunda.bpm.engine.impl.runtime.DefaultConditionHandler
- All Implemented Interfaces:
ConditionHandler
- Author:
- Yana Vasileva
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
evaluateCondition
(ConditionSet conditionSet, ActivityImpl activity) protected List<ConditionHandlerResult>
evaluateConditionStartByEventSubscription
(CommandContext commandContext, ConditionSet conditionSet) protected List<ConditionHandlerResult>
evaluateConditionStartByProcessDefinitionId
(CommandContext commandContext, ConditionSet conditionSet, String processDefinitionId) evaluateStartCondition
(CommandContext commandContext, ConditionSet conditionSet) Evaluates conditions of process definition with a conditional start eventprotected List<ActivityImpl>
findConditionalStartEventActivities
(ProcessDefinitionEntity processDefinition) protected List<EventSubscriptionEntity>
findConditionalStartEventSubscriptions
(CommandContext commandContext, ConditionSet conditionSet) protected boolean
isConditionStartEvent
(EventSubscriptionDeclaration declaration)
-
Constructor Details
-
DefaultConditionHandler
public DefaultConditionHandler()
-
-
Method Details
-
evaluateStartCondition
public List<ConditionHandlerResult> evaluateStartCondition(CommandContext commandContext, ConditionSet conditionSet) Description copied from interface:ConditionHandler
Evaluates conditions of process definition with a conditional start event- Specified by:
evaluateStartCondition
in interfaceConditionHandler
- Returns:
- all matched process definitions and respective activities containing evaluated to true conditions
-
evaluateConditionStartByEventSubscription
protected List<ConditionHandlerResult> evaluateConditionStartByEventSubscription(CommandContext commandContext, ConditionSet conditionSet) -
findConditionalStartEventSubscriptions
protected List<EventSubscriptionEntity> findConditionalStartEventSubscriptions(CommandContext commandContext, ConditionSet conditionSet) -
evaluateConditionStartByProcessDefinitionId
protected List<ConditionHandlerResult> evaluateConditionStartByProcessDefinitionId(CommandContext commandContext, ConditionSet conditionSet, String processDefinitionId) -
findConditionalStartEventActivities
protected List<ActivityImpl> findConditionalStartEventActivities(ProcessDefinitionEntity processDefinition) -
isConditionStartEvent
-
evaluateCondition
-