public class DefaultConditionHandler extends Object implements ConditionHandler
Constructor and Description |
---|
DefaultConditionHandler() |
Modifier and Type | Method and 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 event
|
protected List<ActivityImpl> |
findConditionalStartEventActivities(ProcessDefinitionEntity processDefinition) |
protected List<EventSubscriptionEntity> |
findConditionalStartEventSubscriptions(CommandContext commandContext,
ConditionSet conditionSet) |
protected boolean |
isConditionStartEvent(EventSubscriptionDeclaration declaration) |
public List<ConditionHandlerResult> evaluateStartCondition(CommandContext commandContext, ConditionSet conditionSet)
ConditionHandler
evaluateStartCondition
in interface ConditionHandler
protected List<ConditionHandlerResult> evaluateConditionStartByEventSubscription(CommandContext commandContext, ConditionSet conditionSet)
protected List<EventSubscriptionEntity> findConditionalStartEventSubscriptions(CommandContext commandContext, ConditionSet conditionSet)
protected List<ConditionHandlerResult> evaluateConditionStartByProcessDefinitionId(CommandContext commandContext, ConditionSet conditionSet, String processDefinitionId)
protected List<ActivityImpl> findConditionalStartEventActivities(ProcessDefinitionEntity processDefinition)
protected boolean isConditionStartEvent(EventSubscriptionDeclaration declaration)
protected boolean evaluateCondition(ConditionSet conditionSet, ActivityImpl activity)
Copyright © 2021. All rights reserved.