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 Object
implements Command<ProcessInstanceWithVariables>
- Author:
- Thorben Lindhauer
-
Field Summary
-
Constructor Summary
ConstructorDescriptionStartProcessInstanceAtActivitiesCmd
(ProcessInstantiationBuilderImpl instantiationBuilder) -
Method Summary
Modifier and TypeMethodDescriptionprotected 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 instructionexecute
(CommandContext commandContext)
-
Field Details
-
instantiationBuilder
-
-
Constructor Details
-
StartProcessInstanceAtActivitiesCmd
-
-
Method Details
-
execute
- 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
-