Package org.camunda.bpm.engine.impl
Class ModificationBatchJobHandler
java.lang.Object
org.camunda.bpm.engine.impl.batch.AbstractBatchJobHandler<ModificationBatchConfiguration>
org.camunda.bpm.engine.impl.ModificationBatchJobHandler
- All Implemented Interfaces:
BatchJobHandler<ModificationBatchConfiguration>,OptimisticLockingListener,JobHandler<BatchJobConfiguration>
public class ModificationBatchJobHandler
extends AbstractBatchJobHandler<ModificationBatchConfiguration>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ModificationBatchConfigurationcreateJobConfiguration(ModificationBatchConfiguration configuration, List<String> processIdsForJob) voidexecuteHandler(ModificationBatchConfiguration batchConfiguration, ExecutionEntity execution, CommandContext commandContext, String tenantId) Get the job declaration for batch jobs.protected ProcessDefinitionEntitygetProcessDefinition(CommandContext commandContext, String processDefinitionId) getType()protected voidpostProcessJob(ModificationBatchConfiguration configuration, JobEntity job, ModificationBatchConfiguration 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
-
ModificationBatchJobHandler
public ModificationBatchJobHandler()
-
-
Method Details
-
getType
-
postProcessJob
protected void postProcessJob(ModificationBatchConfiguration configuration, JobEntity job, ModificationBatchConfiguration jobConfiguration) - Overrides:
postProcessJobin classAbstractBatchJobHandler<ModificationBatchConfiguration>
-
executeHandler
public void executeHandler(ModificationBatchConfiguration batchConfiguration, ExecutionEntity execution, CommandContext commandContext, String tenantId) - Specified by:
executeHandlerin classAbstractBatchJobHandler<ModificationBatchConfiguration>
-
getJobDeclaration
Description copied from interface:BatchJobHandlerGet the job declaration for batch jobs.- Specified by:
getJobDeclarationin interfaceBatchJobHandler<ModificationBatchConfiguration>- Specified by:
getJobDeclarationin classAbstractBatchJobHandler<ModificationBatchConfiguration>- Returns:
- the batch job declaration
-
createJobConfiguration
protected ModificationBatchConfiguration createJobConfiguration(ModificationBatchConfiguration configuration, List<String> processIdsForJob) - Specified by:
createJobConfigurationin classAbstractBatchJobHandler<ModificationBatchConfiguration>
-
getJsonConverterInstance
- Specified by:
getJsonConverterInstancein classAbstractBatchJobHandler<ModificationBatchConfiguration>
-
getProcessDefinition
protected ProcessDefinitionEntity getProcessDefinition(CommandContext commandContext, String processDefinitionId)
-