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, writeConfigurationpublic static final BatchJobDeclaration JOB_DECLARATION
public String getType()
protected DeleteProcessInstanceBatchConfigurationJsonConverter getJsonConverterInstance()
getJsonConverterInstance in class AbstractBatchJobHandler<DeleteProcessInstanceBatchConfiguration>public JobDeclaration<BatchJobContext,MessageEntity> getJobDeclaration()
BatchJobHandlergetJobDeclaration 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)
BatchJobHandlercreateJobs 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 © 2018. All rights reserved.