public class MigrateProcessInstanceBatchCmd extends AbstractMigrationCmd<Batch>
Modifier and Type | Field and Description |
---|---|
protected static MigrationLogger |
LOGGER |
executionBuilder
Constructor and Description |
---|
MigrateProcessInstanceBatchCmd(MigrationPlanExecutionBuilderImpl migrationPlanExecutionBuilder) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkAuthorizations(CommandContext commandContext,
ProcessDefinitionEntity sourceDefinition,
ProcessDefinitionEntity targetDefinition,
Collection<String> processInstanceIds) |
protected BatchEntity |
createBatch(CommandContext commandContext,
MigrationPlan migrationPlan,
Collection<String> processInstanceIds,
ProcessDefinitionEntity sourceProcessDefinition) |
Batch |
execute(CommandContext commandContext) |
protected BatchJobHandler<MigrationBatchConfiguration> |
getBatchJobHandler(ProcessEngineConfigurationImpl processEngineConfiguration) |
collectProcessInstanceIds, getProcessDefinition, resolveSourceProcessDefinition, resolveTargetProcessDefinition, writeUserOperationLog
protected static final MigrationLogger LOGGER
public MigrateProcessInstanceBatchCmd(MigrationPlanExecutionBuilderImpl migrationPlanExecutionBuilder)
public Batch execute(CommandContext commandContext)
protected void checkAuthorizations(CommandContext commandContext, ProcessDefinitionEntity sourceDefinition, ProcessDefinitionEntity targetDefinition, Collection<String> processInstanceIds)
checkAuthorizations
in class AbstractMigrationCmd<Batch>
protected BatchEntity createBatch(CommandContext commandContext, MigrationPlan migrationPlan, Collection<String> processInstanceIds, ProcessDefinitionEntity sourceProcessDefinition)
protected BatchJobHandler<MigrationBatchConfiguration> getBatchJobHandler(ProcessEngineConfigurationImpl processEngineConfiguration)
Copyright © 2022. All rights reserved.