Class BatchSetVariablesHandler
java.lang.Object
org.camunda.bpm.engine.impl.batch.AbstractBatchJobHandler<BatchConfiguration>
org.camunda.bpm.engine.impl.batch.variables.BatchSetVariablesHandler
- All Implemented Interfaces:
BatchJobHandler<BatchConfiguration>
,OptimisticLockingListener
,JobHandler<BatchJobConfiguration>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected BatchConfiguration
createJobConfiguration
(BatchConfiguration configuration, List<String> processIdsForJob) void
executeHandler
(BatchConfiguration batchConfiguration, ExecutionEntity execution, CommandContext commandContext, String tenantId) protected ByteArrayEntity
findByteArrayById
(String byteArrayId, CommandContext commandContext) Get the job declaration for batch jobs.protected SetVariablesJsonConverter
getType()
protected void
postProcessJob
(BatchConfiguration configuration, JobEntity job, BatchConfiguration 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
-
BatchSetVariablesHandler
public BatchSetVariablesHandler()
-
-
Method Details
-
executeHandler
public void executeHandler(BatchConfiguration batchConfiguration, ExecutionEntity execution, CommandContext commandContext, String tenantId) - Specified by:
executeHandler
in classAbstractBatchJobHandler<BatchConfiguration>
-
getJobDeclaration
Description copied from interface:BatchJobHandler
Get the job declaration for batch jobs.- Specified by:
getJobDeclaration
in interfaceBatchJobHandler<BatchConfiguration>
- Specified by:
getJobDeclaration
in classAbstractBatchJobHandler<BatchConfiguration>
- Returns:
- the batch job declaration
-
createJobConfiguration
protected BatchConfiguration createJobConfiguration(BatchConfiguration configuration, List<String> processIdsForJob) - Specified by:
createJobConfiguration
in classAbstractBatchJobHandler<BatchConfiguration>
-
getJsonConverterInstance
- Specified by:
getJsonConverterInstance
in classAbstractBatchJobHandler<BatchConfiguration>
-
getType
-
postProcessJob
protected void postProcessJob(BatchConfiguration configuration, JobEntity job, BatchConfiguration jobConfiguration) - Overrides:
postProcessJob
in classAbstractBatchJobHandler<BatchConfiguration>
-
findByteArrayById
-