Package org.camunda.bpm.engine.impl.cmd
Class EvaluateStartConditionCmd
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cmd.EvaluateStartConditionCmd
-
- All Implemented Interfaces:
Command<List<ProcessInstance>>
public class EvaluateStartConditionCmd extends Object implements Command<List<ProcessInstance>>
Evaluates the conditions to start processes by conditional start events- Author:
- Yana Vasileva
-
-
Field Summary
Fields Modifier and Type Field Description protected ConditionEvaluationBuilderImpl
builder
-
Constructor Summary
Constructors Constructor Description EvaluateStartConditionCmd(ConditionEvaluationBuilderImpl builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
checkAuthorization(CommandContext commandContext, ConditionHandlerResult result)
List<ProcessInstance>
execute(CommandContext commandContext)
protected ProcessInstance
instantiateProcess(CommandContext commandContext, ConditionHandlerResult result)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.camunda.bpm.engine.impl.interceptor.Command
isRetryable
-
-
-
-
Field Detail
-
builder
protected ConditionEvaluationBuilderImpl builder
-
-
Constructor Detail
-
EvaluateStartConditionCmd
public EvaluateStartConditionCmd(ConditionEvaluationBuilderImpl builder)
-
-
Method Detail
-
execute
public List<ProcessInstance> execute(CommandContext commandContext)
- Specified by:
execute
in interfaceCommand<List<ProcessInstance>>
-
checkAuthorization
protected void checkAuthorization(CommandContext commandContext, ConditionHandlerResult result)
-
instantiateProcess
protected ProcessInstance instantiateProcess(CommandContext commandContext, ConditionHandlerResult result)
-
-