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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected SetJobRetriesBatchConfigurationcreateJobConfiguration(SetJobRetriesBatchConfiguration configuration, List<String> jobIds) voidexecuteHandler(SetJobRetriesBatchConfiguration 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
-
SetJobRetriesJobHandler
public SetJobRetriesJobHandler()
-
-
Method Details
-
getType
-
getJsonConverterInstance
- Specified by:
getJsonConverterInstancein classAbstractBatchJobHandler<SetJobRetriesBatchConfiguration>
-
getJobDeclaration
Description copied from interface:BatchJobHandlerGet the job declaration for batch jobs.- Specified by:
getJobDeclarationin interfaceBatchJobHandler<SetJobRetriesBatchConfiguration>- Specified by:
getJobDeclarationin classAbstractBatchJobHandler<SetJobRetriesBatchConfiguration>- Returns:
- the batch job declaration
-
createJobConfiguration
protected SetJobRetriesBatchConfiguration createJobConfiguration(SetJobRetriesBatchConfiguration configuration, List<String> jobIds) - Specified by:
createJobConfigurationin classAbstractBatchJobHandler<SetJobRetriesBatchConfiguration>
-
executeHandler
public void executeHandler(SetJobRetriesBatchConfiguration batchConfiguration, ExecutionEntity execution, CommandContext commandContext, String tenantId) - Specified by:
executeHandlerin classAbstractBatchJobHandler<SetJobRetriesBatchConfiguration>
-