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> processInstancesToHandle,
int invocationsPerBatchJob) |
boolean |
createJobs(BatchEntity batch)
Creates batch jobs for a batch.
|
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, deleteJobs, newConfiguration, onDelete, postProcessJob, readConfiguration, 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)
public boolean createJobs(BatchEntity batch)
BatchJobHandler
createJobs
in interface BatchJobHandler<DeleteProcessInstanceBatchConfiguration>
createJobs
in class AbstractBatchJobHandler<DeleteProcessInstanceBatchConfiguration>
batch
- the batch to create jobs forprotected void createJobEntities(BatchEntity batch, DeleteProcessInstanceBatchConfiguration configuration, String deploymentId, List<String> processInstancesToHandle, int invocationsPerBatchJob)
Copyright © 2021. All rights reserved.