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>,JobHandler<BatchJobConfiguration>
public class ModificationBatchJobHandler extends AbstractBatchJobHandler<ModificationBatchConfiguration>
-
-
Field Summary
Fields Modifier and Type Field Description static BatchJobDeclarationJOB_DECLARATION
-
Constructor Summary
Constructors Constructor Description ModificationBatchJobHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ModificationBatchConfigurationcreateJobConfiguration(ModificationBatchConfiguration configuration, java.util.List<java.lang.String> processIdsForJob)voidexecute(BatchJobConfiguration configuration, ExecutionEntity execution, CommandContext commandContext, java.lang.String tenantId)JobDeclaration<BatchJobContext,MessageEntity>getJobDeclaration()Get the job declaration for batch jobs.protected ModificationBatchConfigurationJsonConvertergetJsonConverterInstance()protected ProcessDefinitionEntitygetProcessDefinition(CommandContext commandContext, java.lang.String processDefinitionId)java.lang.StringgetType()protected voidpostProcessJob(ModificationBatchConfiguration configuration, JobEntity job, ModificationBatchConfiguration jobConfiguration)-
Methods inherited from class org.camunda.bpm.engine.impl.batch.AbstractBatchJobHandler
createBatchJob, createJobEntities, createJobs, deleteJobs, newConfiguration, onDelete, readConfiguration, sanitizeMappings, saveConfiguration, writeConfiguration
-
-
-
-
Field Detail
-
JOB_DECLARATION
public static final BatchJobDeclaration JOB_DECLARATION
-
-
Method Detail
-
getType
public java.lang.String getType()
-
postProcessJob
protected void postProcessJob(ModificationBatchConfiguration configuration, JobEntity job, ModificationBatchConfiguration jobConfiguration)
- Overrides:
postProcessJobin classAbstractBatchJobHandler<ModificationBatchConfiguration>
-
execute
public void execute(BatchJobConfiguration configuration, ExecutionEntity execution, CommandContext commandContext, java.lang.String tenantId)
-
getJobDeclaration
public JobDeclaration<BatchJobContext,MessageEntity> 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, java.util.List<java.lang.String> processIdsForJob)
- Specified by:
createJobConfigurationin classAbstractBatchJobHandler<ModificationBatchConfiguration>
-
getJsonConverterInstance
protected ModificationBatchConfigurationJsonConverter getJsonConverterInstance()
- Specified by:
getJsonConverterInstancein classAbstractBatchJobHandler<ModificationBatchConfiguration>
-
getProcessDefinition
protected ProcessDefinitionEntity getProcessDefinition(CommandContext commandContext, java.lang.String processDefinitionId)
-
-