org.camunda.bpm.engine.impl.migration.batch
Class MigrateProcessInstanceBatchCmd

java.lang.Object
  extended by org.camunda.bpm.engine.impl.migration.AbstractMigrationCmd<Batch>
      extended by org.camunda.bpm.engine.impl.migration.batch.MigrateProcessInstanceBatchCmd
All Implemented Interfaces:
Command<Batch>

public class MigrateProcessInstanceBatchCmd
extends AbstractMigrationCmd<Batch>


Field Summary
protected static MigrationLogger LOGGER
           
 
Fields inherited from class org.camunda.bpm.engine.impl.migration.AbstractMigrationCmd
executionBuilder
 
Constructor Summary
MigrateProcessInstanceBatchCmd(MigrationPlanExecutionBuilderImpl migrationPlanExecutionBuilder)
           
 
Method Summary
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)
           
 
Methods inherited from class org.camunda.bpm.engine.impl.migration.AbstractMigrationCmd
collectProcessInstanceIds, getProcessDefinition, resolveSourceProcessDefinition, resolveTargetProcessDefinition, writeUserOperationLog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOGGER

protected static final MigrationLogger LOGGER
Constructor Detail

MigrateProcessInstanceBatchCmd

public MigrateProcessInstanceBatchCmd(MigrationPlanExecutionBuilderImpl migrationPlanExecutionBuilder)
Method Detail

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)

getBatchJobHandler

protected BatchJobHandler<MigrationBatchConfiguration> getBatchJobHandler(ProcessEngineConfigurationImpl processEngineConfiguration)


Copyright © 2016 camunda services GmbH. All rights reserved.