public class MigrationBatchJobHandler extends AbstractBatchJobHandler<MigrationBatchConfiguration>
Modifier and Type | Field and Description |
---|---|
static BatchJobDeclaration |
JOB_DECLARATION |
Constructor and Description |
---|
MigrationBatchJobHandler() |
Modifier and Type | Method and Description |
---|---|
protected MigrationBatchConfiguration |
createJobConfiguration(MigrationBatchConfiguration configuration,
List<String> processIdsForJob) |
void |
execute(BatchJobConfiguration configuration,
ExecutionEntity execution,
CommandContext commandContext,
String tenantId) |
JobDeclaration<BatchJobContext,MessageEntity> |
getJobDeclaration()
Get the job declaration for batch jobs.
|
protected MigrationBatchConfigurationJsonConverter |
getJsonConverterInstance() |
protected ProcessDefinitionEntity |
getProcessDefinition(CommandContext commandContext,
String processDefinitionId) |
String |
getType() |
protected void |
postProcessJob(MigrationBatchConfiguration configuration,
JobEntity job) |
createBatchJob, createJobs, deleteJobs, newConfiguration, onDelete, readConfiguration, saveConfiguration, writeConfiguration
public static final BatchJobDeclaration JOB_DECLARATION
public String getType()
public JobDeclaration<BatchJobContext,MessageEntity> getJobDeclaration()
BatchJobHandler
getJobDeclaration
in interface BatchJobHandler<MigrationBatchConfiguration>
getJobDeclaration
in class AbstractBatchJobHandler<MigrationBatchConfiguration>
protected MigrationBatchConfigurationJsonConverter getJsonConverterInstance()
getJsonConverterInstance
in class AbstractBatchJobHandler<MigrationBatchConfiguration>
protected MigrationBatchConfiguration createJobConfiguration(MigrationBatchConfiguration configuration, List<String> processIdsForJob)
createJobConfiguration
in class AbstractBatchJobHandler<MigrationBatchConfiguration>
protected void postProcessJob(MigrationBatchConfiguration configuration, JobEntity job)
postProcessJob
in class AbstractBatchJobHandler<MigrationBatchConfiguration>
public void execute(BatchJobConfiguration configuration, ExecutionEntity execution, CommandContext commandContext, String tenantId)
protected ProcessDefinitionEntity getProcessDefinition(CommandContext commandContext, String processDefinitionId)
Copyright © 2022. All rights reserved.