org.camunda.bpm.engine.impl.migration.batch
Class MigrateProcessInstanceBatchCmd
java.lang.Object
org.camunda.bpm.engine.impl.migration.AbstractMigrationCmd<Batch>
org.camunda.bpm.engine.impl.migration.batch.MigrateProcessInstanceBatchCmd
- All Implemented Interfaces:
- Command<Batch>
public class MigrateProcessInstanceBatchCmd
- extends AbstractMigrationCmd<Batch>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOGGER
protected static final MigrationLogger LOGGER
MigrateProcessInstanceBatchCmd
public MigrateProcessInstanceBatchCmd(MigrationPlanExecutionBuilderImpl migrationPlanExecutionBuilder)
execute
public Batch execute(CommandContext commandContext)
checkAuthorizations
protected void checkAuthorizations(CommandContext commandContext,
ProcessDefinitionEntity sourceDefinition,
ProcessDefinitionEntity targetDefinition,
Collection<String> processInstanceIds)
- Overrides:
checkAuthorizations in class AbstractMigrationCmd<Batch>
createBatch
protected BatchEntity createBatch(CommandContext commandContext,
MigrationPlan migrationPlan,
Collection<String> processInstanceIds,
ProcessDefinitionEntity sourceProcessDefinition)
calculateSize
protected int calculateSize(ProcessEngineConfigurationImpl engineConfiguration,
MigrationBatchConfiguration batchConfiguration)
getBatchJobHandler
protected BatchJobHandler<MigrationBatchConfiguration> getBatchJobHandler(ProcessEngineConfigurationImpl processEngineConfiguration)
Copyright © 2017 camunda services GmbH. All rights reserved.