Package org.camunda.bpm.engine.impl.cmd
Class EvaluateStartConditionCmd
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cmd.EvaluateStartConditionCmd
-
- All Implemented Interfaces:
Command<java.util.List<ProcessInstance>>
public class EvaluateStartConditionCmd extends java.lang.Object implements Command<java.util.List<ProcessInstance>>
Evaluates the conditions to start processes by conditional start events- Author:
- Yana Vasileva
-
-
Field Summary
Fields Modifier and Type Field Description protected ConditionEvaluationBuilderImplbuilder
-
Constructor Summary
Constructors Constructor Description EvaluateStartConditionCmd(ConditionEvaluationBuilderImpl builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckAuthorization(CommandContext commandContext, ConditionHandlerResult result)java.util.List<ProcessInstance>execute(CommandContext commandContext)protected ProcessInstanceinstantiateProcess(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 java.util.List<ProcessInstance> execute(CommandContext commandContext)
- Specified by:
executein interfaceCommand<java.util.List<ProcessInstance>>
-
checkAuthorization
protected void checkAuthorization(CommandContext commandContext, ConditionHandlerResult result)
-
instantiateProcess
protected ProcessInstance instantiateProcess(CommandContext commandContext, ConditionHandlerResult result)
-
-