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