Package org.camunda.bpm.engine.impl.cmd
Class RestartProcessInstancesCmd
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cmd.AbstractRestartProcessInstanceCmd<Void>
-
- org.camunda.bpm.engine.impl.cmd.RestartProcessInstancesCmd
-
public class RestartProcessInstancesCmd extends AbstractRestartProcessInstanceCmd<Void>
- Author:
- Anna Pazola
-
-
Field Summary
-
Fields inherited from class org.camunda.bpm.engine.impl.cmd.AbstractRestartProcessInstanceCmd
builder, commandExecutor
-
-
Constructor Summary
Constructors Constructor Description RestartProcessInstancesCmd(CommandExecutor commandExecutor, RestartProcessInstanceBuilderImpl builder)
-
Method Summary
-
Methods inherited from class org.camunda.bpm.engine.impl.cmd.AbstractRestartProcessInstanceCmd
collectProcessInstanceIds, getProcessDefinition, writeUserOperationLog
-
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
-
-
-
-
Constructor Detail
-
RestartProcessInstancesCmd
public RestartProcessInstancesCmd(CommandExecutor commandExecutor, RestartProcessInstanceBuilderImpl builder)
-
-
Method Detail
-
execute
public Void execute(CommandContext commandContext)
-
checkAuthorization
protected void checkAuthorization(CommandContext commandContext, ProcessDefinition processDefinition)
-
getHistoricProcessInstance
protected HistoricProcessInstance getHistoricProcessInstance(CommandContext commandContext, String processInstanceId)
-
ensureSameProcessDefinition
protected void ensureSameProcessDefinition(HistoricProcessInstance instance, String processDefinitionId)
-
ensureHistoricProcessInstanceNotActive
protected void ensureHistoricProcessInstanceNotActive(HistoricProcessInstance instance)
-
getProcessInstantiationBuilder
protected ProcessInstantiationBuilderImpl getProcessInstantiationBuilder(CommandExecutor commandExecutor, String processDefinitionId)
-
applyProperties
protected void applyProperties(ProcessInstantiationBuilderImpl instantiationBuilder, ProcessDefinition processDefinition, HistoricProcessInstance processInstance)
-
collectVariables
protected VariableMap collectVariables(CommandContext commandContext, HistoricProcessInstance processInstance)
-
collectInitialVariables
protected VariableMap collectInitialVariables(CommandContext commandContext, HistoricProcessInstance processInstance)
-
collectLastVariables
protected VariableMap collectLastVariables(CommandContext commandContext, HistoricProcessInstance processInstance)
-
resolveStartActivityInstance
protected HistoricActivityInstance resolveStartActivityInstance(HistoricProcessInstance processInstance)
-
-