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.
- 
- 
Field SummaryFields Modifier and Type Field Description static BatchJobDeclarationJOB_DECLARATION
 - 
Constructor SummaryConstructors Constructor Description MigrationBatchJobHandler()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MigrationBatchConfigurationcreateJobConfiguration(MigrationBatchConfiguration configuration, java.util.List<java.lang.String> processIdsForJob)voidexecute(BatchJobConfiguration configuration, ExecutionEntity execution, CommandContext commandContext, java.lang.String tenantId)JobDeclaration<BatchJobContext,MessageEntity>getJobDeclaration()Get the job declaration for batch jobs.protected MigrationBatchConfigurationJsonConvertergetJsonConverterInstance()protected ProcessDefinitionEntitygetProcessDefinition(CommandContext commandContext, java.lang.String processDefinitionId)java.lang.StringgetType()protected voidpostProcessJob(MigrationBatchConfiguration configuration, JobEntity job, MigrationBatchConfiguration jobConfiguration)protected voidsetVariables(java.lang.String batchId, MigrationPlanImpl migrationPlan, CommandContext commandContext)- 
Methods inherited from class org.camunda.bpm.engine.impl.batch.AbstractBatchJobHandlercreateBatchJob, createJobEntities, createJobs, deleteJobs, newConfiguration, onDelete, readConfiguration, sanitizeMappings, saveConfiguration, writeConfiguration
 
- 
 
- 
- 
- 
Field Detail- 
JOB_DECLARATIONpublic static final BatchJobDeclaration JOB_DECLARATION 
 
- 
 - 
Method Detail- 
getTypepublic java.lang.String getType() 
 - 
getJobDeclarationpublic JobDeclaration<BatchJobContext,MessageEntity> getJobDeclaration() Description copied from interface:BatchJobHandlerGet the job declaration for batch jobs.- Specified by:
- getJobDeclarationin interface- BatchJobHandler<MigrationBatchConfiguration>
- Specified by:
- getJobDeclarationin class- AbstractBatchJobHandler<MigrationBatchConfiguration>
- Returns:
- the batch job declaration
 
 - 
getJsonConverterInstanceprotected MigrationBatchConfigurationJsonConverter getJsonConverterInstance() - Specified by:
- getJsonConverterInstancein class- AbstractBatchJobHandler<MigrationBatchConfiguration>
 
 - 
createJobConfigurationprotected MigrationBatchConfiguration createJobConfiguration(MigrationBatchConfiguration configuration, java.util.List<java.lang.String> processIdsForJob) - Specified by:
- createJobConfigurationin class- AbstractBatchJobHandler<MigrationBatchConfiguration>
 
 - 
postProcessJobprotected void postProcessJob(MigrationBatchConfiguration configuration, JobEntity job, MigrationBatchConfiguration jobConfiguration) - Overrides:
- postProcessJobin class- AbstractBatchJobHandler<MigrationBatchConfiguration>
 
 - 
executepublic void execute(BatchJobConfiguration configuration, ExecutionEntity execution, CommandContext commandContext, java.lang.String tenantId) 
 - 
setVariablesprotected void setVariables(java.lang.String batchId, MigrationPlanImpl migrationPlan, CommandContext commandContext)
 - 
getProcessDefinitionprotected ProcessDefinitionEntity getProcessDefinition(CommandContext commandContext, java.lang.String processDefinitionId) 
 
- 
 
-