Package org.camunda.bpm.engine.impl.cmd
Class StartProcessInstanceAtActivitiesCmd
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cmd.StartProcessInstanceAtActivitiesCmd
-
- All Implemented Interfaces:
Command<ProcessInstanceWithVariables>
public class StartProcessInstanceAtActivitiesCmd extends java.lang.Object implements Command<ProcessInstanceWithVariables>
- Author:
- Thorben Lindhauer
-
-
Field Summary
Fields Modifier and Type Field Description protected ProcessInstantiationBuilderImpl
instantiationBuilder
-
Constructor Summary
Constructors Constructor Description StartProcessInstanceAtActivitiesCmd(ProcessInstantiationBuilderImpl instantiationBuilder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ActivityImpl
determineFirstActivity(ProcessDefinitionImpl processDefinition, ProcessInstanceModificationBuilderImpl modificationBuilder)
get the activity that is started by the first instruction, if exists; return null if the first instruction is a start-transition instructionProcessInstanceWithVariables
execute(CommandContext commandContext)
-
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
-
instantiationBuilder
protected ProcessInstantiationBuilderImpl instantiationBuilder
-
-
Constructor Detail
-
StartProcessInstanceAtActivitiesCmd
public StartProcessInstanceAtActivitiesCmd(ProcessInstantiationBuilderImpl instantiationBuilder)
-
-
Method Detail
-
execute
public ProcessInstanceWithVariables execute(CommandContext commandContext)
- Specified by:
execute
in interfaceCommand<ProcessInstanceWithVariables>
-
determineFirstActivity
protected ActivityImpl determineFirstActivity(ProcessDefinitionImpl processDefinition, ProcessInstanceModificationBuilderImpl modificationBuilder)
get the activity that is started by the first instruction, if exists; return null if the first instruction is a start-transition instruction
-
-