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 int |
calculateSize(ProcessEngineConfigurationImpl engineConfiguration,
MigrationBatchConfiguration batchConfiguration) |
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 int calculateSize(ProcessEngineConfigurationImpl engineConfiguration, MigrationBatchConfiguration batchConfiguration)
protected BatchJobHandler<MigrationBatchConfiguration> getBatchJobHandler(ProcessEngineConfigurationImpl processEngineConfiguration)
Copyright © 2018. All rights reserved.