org.camunda.bpm.engine.impl.migration.batch
Class MigrationBatchJobHandler
java.lang.Object
org.camunda.bpm.engine.impl.batch.AbstractProcessInstanceBatchJobHandler<MigrationBatchConfiguration>
org.camunda.bpm.engine.impl.migration.batch.MigrationBatchJobHandler
- All Implemented Interfaces:
- BatchJobHandler<MigrationBatchConfiguration>, JobHandler<BatchJobConfiguration>
public class MigrationBatchJobHandler
- extends AbstractProcessInstanceBatchJobHandler<MigrationBatchConfiguration>
Job handler for batch migration jobs. The batch migration job
migrates a list of process instances.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JOB_DECLARATION
public static final MigrationBatchJobDeclaration JOB_DECLARATION
MigrationBatchJobHandler
public MigrationBatchJobHandler()
getType
public String getType()
getJobDeclaration
public JobDeclaration<BatchJobContext,MessageEntity> getJobDeclaration()
- Description copied from interface:
BatchJobHandler
- Get the job declaration for batch jobs.
- Specified by:
getJobDeclaration in interface BatchJobHandler<MigrationBatchConfiguration>- Specified by:
getJobDeclaration in class AbstractProcessInstanceBatchJobHandler<MigrationBatchConfiguration>
- Returns:
- the batch job declaration
getJsonConverterInstance
protected MigrationBatchConfigurationJsonConverter getJsonConverterInstance()
- Specified by:
getJsonConverterInstance in class AbstractProcessInstanceBatchJobHandler<MigrationBatchConfiguration>
createJobConfiguration
protected MigrationBatchConfiguration createJobConfiguration(MigrationBatchConfiguration configuration,
List<String> processIdsForJob)
- Specified by:
createJobConfiguration in class AbstractProcessInstanceBatchJobHandler<MigrationBatchConfiguration>
postProcessJob
protected void postProcessJob(MigrationBatchConfiguration configuration,
JobEntity job)
- Overrides:
postProcessJob in class AbstractProcessInstanceBatchJobHandler<MigrationBatchConfiguration>
execute
public void execute(BatchJobConfiguration configuration,
ExecutionEntity execution,
CommandContext commandContext,
String tenantId)
getProcessDefinition
protected ProcessDefinitionEntity getProcessDefinition(CommandContext commandContext,
String processDefinitionId)
Copyright © 2016 camunda services GmbH. All rights reserved.