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
Fields Modifier and Type Field Description static BatchJobDeclaration
JOB_DECLARATION
-
Constructor Summary
Constructors Constructor Description UpdateProcessInstancesSuspendStateJobHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected UpdateProcessInstancesSuspendStateBatchConfiguration
createJobConfiguration(UpdateProcessInstancesSuspendStateBatchConfiguration configuration, List<String> processIdsForJob)
void
executeHandler(UpdateProcessInstancesSuspendStateBatchConfiguration batchConfiguration, ExecutionEntity execution, CommandContext commandContext, String tenantId)
JobDeclaration<BatchJobContext,MessageEntity>
getJobDeclaration()
Get the job declaration for batch jobs.protected UpdateProcessInstancesSuspendStateBatchConfigurationJsonConverter
getJsonConverterInstance()
String
getType()
-
Methods inherited from class org.camunda.bpm.engine.impl.batch.AbstractBatchJobHandler
createBatchJob, createJobEntities, createJobs, deleteJobs, execute, failedOperation, getEntityType, newConfiguration, onDelete, postProcessJob, readConfiguration, sanitizeMappings, saveConfiguration, writeConfiguration
-
-
-
-
Field Detail
-
JOB_DECLARATION
public static final BatchJobDeclaration JOB_DECLARATION
-
-
Method Detail
-
getType
public String getType()
-
getJsonConverterInstance
protected UpdateProcessInstancesSuspendStateBatchConfigurationJsonConverter getJsonConverterInstance()
- Specified by:
getJsonConverterInstance
in classAbstractBatchJobHandler<UpdateProcessInstancesSuspendStateBatchConfiguration>
-
getJobDeclaration
public JobDeclaration<BatchJobContext,MessageEntity> 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>
-
-