org.camunda.bpm.engine.impl.batch
Class RestartProcessInstancesBatchCmd
java.lang.Object
org.camunda.bpm.engine.impl.cmd.AbstractRestartProcessInstanceCmd<Batch>
org.camunda.bpm.engine.impl.batch.RestartProcessInstancesBatchCmd
- All Implemented Interfaces:
- Command<Batch>
public class RestartProcessInstancesBatchCmd
- extends AbstractRestartProcessInstanceCmd<Batch>
- Author:
- Anna Pazola
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RestartProcessInstancesBatchCmd
public RestartProcessInstancesBatchCmd(CommandExecutor commandExecutor,
RestartProcessInstanceBuilderImpl builder)
execute
public Batch execute(CommandContext commandContext)
createBatch
protected BatchEntity createBatch(CommandContext commandContext,
List<AbstractProcessInstanceModificationCommand> instructions,
List<String> processInstanceIds,
ProcessDefinitionEntity processDefinition)
calculateSize
protected int calculateSize(ProcessEngineConfigurationImpl engineConfiguration,
RestartProcessInstancesBatchConfiguration batchConfiguration)
getBatchJobHandler
protected BatchJobHandler<RestartProcessInstancesBatchConfiguration> getBatchJobHandler(ProcessEngineConfigurationImpl processEngineConfiguration)
ensureTenantAuthorized
protected void ensureTenantAuthorized(CommandContext commandContext,
ProcessDefinitionEntity processDefinition)
Copyright © 2017 camunda services GmbH. All rights reserved.