public class StartProcessInstanceAtActivitiesCmd extends Object implements Command<ProcessInstanceWithVariables>
Modifier and Type | Field and Description |
---|---|
protected ProcessInstantiationBuilderImpl |
instantiationBuilder |
Constructor and Description |
---|
StartProcessInstanceAtActivitiesCmd(ProcessInstantiationBuilderImpl instantiationBuilder) |
Modifier and Type | Method and 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 instruction
|
ProcessInstanceWithVariables |
execute(CommandContext commandContext) |
protected ProcessInstantiationBuilderImpl instantiationBuilder
public StartProcessInstanceAtActivitiesCmd(ProcessInstantiationBuilderImpl instantiationBuilder)
public ProcessInstanceWithVariables execute(CommandContext commandContext)
execute
in interface Command<ProcessInstanceWithVariables>
protected ActivityImpl determineFirstActivity(ProcessDefinitionImpl processDefinition, ProcessInstanceModificationBuilderImpl modificationBuilder)
Copyright © 2021. All rights reserved.