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