public class DeleteProcessInstancesJobHandler extends AbstractBatchJobHandler<DeleteProcessInstanceBatchConfiguration>
Modifier and Type | Field and Description |
---|---|
static BatchJobDeclaration |
JOB_DECLARATION |
Constructor and Description |
---|
DeleteProcessInstancesJobHandler() |
Modifier and Type | Method and Description |
---|---|
protected DeleteProcessInstanceBatchConfiguration |
createJobConfiguration(DeleteProcessInstanceBatchConfiguration configuration,
List<String> processIdsForJob) |
protected void |
createJobEntities(BatchEntity batch,
DeleteProcessInstanceBatchConfiguration configuration,
String deploymentId,
List<String> processIds,
int invocationsPerBatchJob) |
void |
execute(BatchJobConfiguration configuration,
ExecutionEntity execution,
CommandContext commandContext,
String tenantId) |
JobDeclaration<BatchJobContext,MessageEntity> |
getJobDeclaration()
Get the job declaration for batch jobs.
|
protected DeleteProcessInstanceBatchConfigurationJsonConverter |
getJsonConverterInstance() |
String |
getType() |
createBatchJob, createJobs, deleteJobs, newConfiguration, onDelete, postProcessJob, readConfiguration, sanitizeMappings, saveConfiguration, writeConfiguration
public static final BatchJobDeclaration JOB_DECLARATION
public String getType()
protected DeleteProcessInstanceBatchConfigurationJsonConverter getJsonConverterInstance()
getJsonConverterInstance
in class AbstractBatchJobHandler<DeleteProcessInstanceBatchConfiguration>
public JobDeclaration<BatchJobContext,MessageEntity> getJobDeclaration()
BatchJobHandler
getJobDeclaration
in interface BatchJobHandler<DeleteProcessInstanceBatchConfiguration>
getJobDeclaration
in class AbstractBatchJobHandler<DeleteProcessInstanceBatchConfiguration>
protected DeleteProcessInstanceBatchConfiguration createJobConfiguration(DeleteProcessInstanceBatchConfiguration configuration, List<String> processIdsForJob)
createJobConfiguration
in class AbstractBatchJobHandler<DeleteProcessInstanceBatchConfiguration>
public void execute(BatchJobConfiguration configuration, ExecutionEntity execution, CommandContext commandContext, String tenantId)
protected void createJobEntities(BatchEntity batch, DeleteProcessInstanceBatchConfiguration configuration, String deploymentId, List<String> processIds, int invocationsPerBatchJob)
createJobEntities
in class AbstractBatchJobHandler<DeleteProcessInstanceBatchConfiguration>
Copyright © 2021. All rights reserved.