org.camunda.bpm.engine.impl.migration.batch
Class MigrationBatchJobHandler
java.lang.Object
org.camunda.bpm.engine.impl.batch.AbstractBatchJobHandler<MigrationBatchConfiguration>
org.camunda.bpm.engine.impl.migration.batch.MigrationBatchJobHandler
- All Implemented Interfaces:
- BatchJobHandler<MigrationBatchConfiguration>, JobHandler<BatchJobConfiguration>
public class MigrationBatchJobHandler
- extends AbstractBatchJobHandler<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 BatchJobDeclaration 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 AbstractBatchJobHandler<MigrationBatchConfiguration>
- Returns:
- the batch job declaration
getJsonConverterInstance
protected MigrationBatchConfigurationJsonConverter getJsonConverterInstance()
- Specified by:
getJsonConverterInstance
in class AbstractBatchJobHandler<MigrationBatchConfiguration>
createJobConfiguration
protected MigrationBatchConfiguration createJobConfiguration(MigrationBatchConfiguration configuration,
List<String> processIdsForJob)
- Specified by:
createJobConfiguration
in class AbstractBatchJobHandler<MigrationBatchConfiguration>
postProcessJob
protected void postProcessJob(MigrationBatchConfiguration configuration,
JobEntity job)
- Overrides:
postProcessJob
in class AbstractBatchJobHandler<MigrationBatchConfiguration>
execute
public void execute(BatchJobConfiguration configuration,
ExecutionEntity execution,
CommandContext commandContext,
String tenantId)
getProcessDefinition
protected ProcessDefinitionEntity getProcessDefinition(CommandContext commandContext,
String processDefinitionId)
Copyright © 2017 camunda services GmbH. All rights reserved.