public class RestartProcessInstancesBatchCmd extends AbstractRestartProcessInstanceCmd<Batch>
builder, commandExecutor
Constructor and Description |
---|
RestartProcessInstancesBatchCmd(CommandExecutor commandExecutor,
RestartProcessInstanceBuilderImpl builder) |
Modifier and Type | Method and Description |
---|---|
protected int |
calculateSize(ProcessEngineConfigurationImpl engineConfiguration,
RestartProcessInstancesBatchConfiguration batchConfiguration) |
protected BatchEntity |
createBatch(CommandContext commandContext,
List<AbstractProcessInstanceModificationCommand> instructions,
List<String> processInstanceIds,
ProcessDefinitionEntity processDefinition) |
protected void |
ensureTenantAuthorized(CommandContext commandContext,
ProcessDefinitionEntity processDefinition) |
Batch |
execute(CommandContext commandContext) |
protected BatchJobHandler<RestartProcessInstancesBatchConfiguration> |
getBatchJobHandler(ProcessEngineConfigurationImpl processEngineConfiguration) |
collectProcessInstanceIds, getProcessDefinition, writeUserOperationLog
public RestartProcessInstancesBatchCmd(CommandExecutor commandExecutor, RestartProcessInstanceBuilderImpl builder)
public Batch execute(CommandContext commandContext)
protected BatchEntity createBatch(CommandContext commandContext, List<AbstractProcessInstanceModificationCommand> instructions, List<String> processInstanceIds, ProcessDefinitionEntity processDefinition)
protected int calculateSize(ProcessEngineConfigurationImpl engineConfiguration, RestartProcessInstancesBatchConfiguration batchConfiguration)
protected BatchJobHandler<RestartProcessInstancesBatchConfiguration> getBatchJobHandler(ProcessEngineConfigurationImpl processEngineConfiguration)
protected void ensureTenantAuthorized(CommandContext commandContext, ProcessDefinitionEntity processDefinition)
Copyright © 2020. All rights reserved.