Package org.camunda.bpm.engine.impl.cmd
Class RestartProcessInstancesCmd
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cmd.AbstractRestartProcessInstanceCmd<java.lang.Void>
-
- org.camunda.bpm.engine.impl.cmd.RestartProcessInstancesCmd
-
- All Implemented Interfaces:
Command<java.lang.Void>
public class RestartProcessInstancesCmd extends AbstractRestartProcessInstanceCmd<java.lang.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 java.lang.Void execute(CommandContext commandContext)
-
checkAuthorization
protected void checkAuthorization(CommandContext commandContext, ProcessDefinition processDefinition)
-
getHistoricProcessInstance
protected HistoricProcessInstance getHistoricProcessInstance(CommandContext commandContext, java.lang.String processInstanceId)
-
ensureSameProcessDefinition
protected void ensureSameProcessDefinition(HistoricProcessInstance instance, java.lang.String processDefinitionId)
-
ensureHistoricProcessInstanceNotActive
protected void ensureHistoricProcessInstanceNotActive(HistoricProcessInstance instance)
-
getProcessInstantiationBuilder
protected ProcessInstantiationBuilderImpl getProcessInstantiationBuilder(CommandExecutor commandExecutor, java.lang.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)
-
-