Class DefaultConditionHandler
- java.lang.Object
-
- org.camunda.bpm.engine.impl.runtime.DefaultConditionHandler
-
- All Implemented Interfaces:
ConditionHandler
public class DefaultConditionHandler extends Object implements ConditionHandler
- Author:
- Yana Vasileva
-
-
Constructor Summary
Constructors Constructor Description DefaultConditionHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
evaluateCondition(ConditionSet conditionSet, ActivityImpl activity)
protected List<ConditionHandlerResult>
evaluateConditionStartByEventSubscription(CommandContext commandContext, ConditionSet conditionSet)
protected List<ConditionHandlerResult>
evaluateConditionStartByProcessDefinitionId(CommandContext commandContext, ConditionSet conditionSet, String processDefinitionId)
List<ConditionHandlerResult>
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)
-
-
-
Method Detail
-
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
protected boolean isConditionStartEvent(EventSubscriptionDeclaration declaration)
-
evaluateCondition
protected boolean evaluateCondition(ConditionSet conditionSet, ActivityImpl activity)
-
-