Package org.camunda.bpm.engine.impl
Class RestartProcessInstancesJobHandler
java.lang.Object
org.camunda.bpm.engine.impl.batch.AbstractBatchJobHandler<RestartProcessInstancesBatchConfiguration>
org.camunda.bpm.engine.impl.RestartProcessInstancesJobHandler
- All Implemented Interfaces:
BatchJobHandler<RestartProcessInstancesBatchConfiguration>
,OptimisticLockingListener
,JobHandler<BatchJobConfiguration>
public class RestartProcessInstancesJobHandler
extends AbstractBatchJobHandler<RestartProcessInstancesBatchConfiguration>
- Author:
- Anna Pazola
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateJobConfiguration
(RestartProcessInstancesBatchConfiguration configuration, List<String> processIdsForJob) void
executeHandler
(RestartProcessInstancesBatchConfiguration batchConfiguration, ExecutionEntity execution, CommandContext commandContext, String tenantId) Get the job declaration for batch jobs.getType()
protected void
postProcessJob
(RestartProcessInstancesBatchConfiguration configuration, JobEntity job, RestartProcessInstancesBatchConfiguration jobConfiguration) Methods inherited from class org.camunda.bpm.engine.impl.batch.AbstractBatchJobHandler
calculateInvocationsPerBatchJob, createBatchJob, createJobEntities, createJobs, deleteJobs, execute, failedOperation, getEntityType, newConfiguration, onDelete, readConfiguration, sanitizeMappings, saveConfiguration, writeConfiguration
-
Field Details
-
JOB_DECLARATION
-
-
Constructor Details
-
RestartProcessInstancesJobHandler
public RestartProcessInstancesJobHandler()
-
-
Method Details
-
getType
-
postProcessJob
protected void postProcessJob(RestartProcessInstancesBatchConfiguration configuration, JobEntity job, RestartProcessInstancesBatchConfiguration jobConfiguration) - Overrides:
postProcessJob
in classAbstractBatchJobHandler<RestartProcessInstancesBatchConfiguration>
-
executeHandler
public void executeHandler(RestartProcessInstancesBatchConfiguration batchConfiguration, ExecutionEntity execution, CommandContext commandContext, String tenantId) - Specified by:
executeHandler
in classAbstractBatchJobHandler<RestartProcessInstancesBatchConfiguration>
-
getJobDeclaration
Description copied from interface:BatchJobHandler
Get the job declaration for batch jobs.- Specified by:
getJobDeclaration
in interfaceBatchJobHandler<RestartProcessInstancesBatchConfiguration>
- Specified by:
getJobDeclaration
in classAbstractBatchJobHandler<RestartProcessInstancesBatchConfiguration>
- Returns:
- the batch job declaration
-
createJobConfiguration
protected RestartProcessInstancesBatchConfiguration createJobConfiguration(RestartProcessInstancesBatchConfiguration configuration, List<String> processIdsForJob) - Specified by:
createJobConfiguration
in classAbstractBatchJobHandler<RestartProcessInstancesBatchConfiguration>
-
getJsonConverterInstance
- Specified by:
getJsonConverterInstance
in classAbstractBatchJobHandler<RestartProcessInstancesBatchConfiguration>
-