Class SetJobRetriesJobHandler
- java.lang.Object
-
- org.camunda.bpm.engine.impl.batch.AbstractBatchJobHandler<SetJobRetriesBatchConfiguration>
-
- org.camunda.bpm.engine.impl.batch.job.SetJobRetriesJobHandler
-
- All Implemented Interfaces:
BatchJobHandler<SetJobRetriesBatchConfiguration>
,OptimisticLockingListener
,JobHandler<BatchJobConfiguration>
public class SetJobRetriesJobHandler extends AbstractBatchJobHandler<SetJobRetriesBatchConfiguration>
- Author:
- Askar Akhmerov
-
-
Field Summary
Fields Modifier and Type Field Description static BatchJobDeclaration
JOB_DECLARATION
-
Constructor Summary
Constructors Constructor Description SetJobRetriesJobHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SetJobRetriesBatchConfiguration
createJobConfiguration(SetJobRetriesBatchConfiguration configuration, List<String> jobIds)
void
executeHandler(SetJobRetriesBatchConfiguration batchConfiguration, ExecutionEntity execution, CommandContext commandContext, String tenantId)
JobDeclaration<BatchJobContext,MessageEntity>
getJobDeclaration()
Get the job declaration for batch jobs.protected SetJobRetriesBatchConfigurationJsonConverter
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 SetJobRetriesBatchConfigurationJsonConverter getJsonConverterInstance()
- Specified by:
getJsonConverterInstance
in classAbstractBatchJobHandler<SetJobRetriesBatchConfiguration>
-
getJobDeclaration
public JobDeclaration<BatchJobContext,MessageEntity> getJobDeclaration()
Description copied from interface:BatchJobHandler
Get the job declaration for batch jobs.- Specified by:
getJobDeclaration
in interfaceBatchJobHandler<SetJobRetriesBatchConfiguration>
- Specified by:
getJobDeclaration
in classAbstractBatchJobHandler<SetJobRetriesBatchConfiguration>
- Returns:
- the batch job declaration
-
createJobConfiguration
protected SetJobRetriesBatchConfiguration createJobConfiguration(SetJobRetriesBatchConfiguration configuration, List<String> jobIds)
- Specified by:
createJobConfiguration
in classAbstractBatchJobHandler<SetJobRetriesBatchConfiguration>
-
executeHandler
public void executeHandler(SetJobRetriesBatchConfiguration batchConfiguration, ExecutionEntity execution, CommandContext commandContext, String tenantId)
- Specified by:
executeHandler
in classAbstractBatchJobHandler<SetJobRetriesBatchConfiguration>
-
-