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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BatchConfigurationcreateJobConfiguration(BatchConfiguration configuration, List<String> processIdsForJob) voidexecuteHandler(BatchConfiguration batchConfiguration, ExecutionEntity execution, CommandContext commandContext, String tenantId) protected ByteArrayEntityfindByteArrayById(String byteArrayId, CommandContext commandContext) Get the job declaration for batch jobs.protected SetVariablesJsonConvertergetType()protected voidpostProcessJob(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:
executeHandlerin classAbstractBatchJobHandler<BatchConfiguration>
-
getJobDeclaration
Description copied from interface:BatchJobHandlerGet the job declaration for batch jobs.- Specified by:
getJobDeclarationin interfaceBatchJobHandler<BatchConfiguration>- Specified by:
getJobDeclarationin classAbstractBatchJobHandler<BatchConfiguration>- Returns:
- the batch job declaration
-
createJobConfiguration
protected BatchConfiguration createJobConfiguration(BatchConfiguration configuration, List<String> processIdsForJob) - Specified by:
createJobConfigurationin classAbstractBatchJobHandler<BatchConfiguration>
-
getJsonConverterInstance
- Specified by:
getJsonConverterInstancein classAbstractBatchJobHandler<BatchConfiguration>
-
getType
-
postProcessJob
protected void postProcessJob(BatchConfiguration configuration, JobEntity job, BatchConfiguration jobConfiguration) - Overrides:
postProcessJobin classAbstractBatchJobHandler<BatchConfiguration>
-
findByteArrayById
-