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>
public class BatchSetVariablesHandler extends AbstractBatchJobHandler<BatchConfiguration>
-
-
Field Summary
Fields Modifier and Type Field Description static BatchJobDeclarationJOB_DECLARATION
-
Constructor Summary
Constructors Constructor Description BatchSetVariablesHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BatchConfigurationcreateJobConfiguration(BatchConfiguration configuration, java.util.List<java.lang.String> processIdsForJob)voidexecuteHandler(BatchConfiguration batchConfiguration, ExecutionEntity execution, CommandContext commandContext, java.lang.String tenantId)protected ByteArrayEntityfindByteArrayById(java.lang.String byteArrayId, CommandContext commandContext)JobDeclaration<BatchJobContext,MessageEntity>getJobDeclaration()Get the job declaration for batch jobs.protected SetVariablesJsonConvertergetJsonConverterInstance()java.lang.StringgetType()protected voidpostProcessJob(BatchConfiguration configuration, JobEntity job, BatchConfiguration jobConfiguration)-
Methods inherited from class org.camunda.bpm.engine.impl.batch.AbstractBatchJobHandler
createBatchJob, createJobEntities, createJobs, deleteJobs, execute, failedOperation, getEntityType, newConfiguration, onDelete, readConfiguration, sanitizeMappings, saveConfiguration, writeConfiguration
-
-
-
-
Field Detail
-
JOB_DECLARATION
public static final BatchJobDeclaration JOB_DECLARATION
-
-
Method Detail
-
executeHandler
public void executeHandler(BatchConfiguration batchConfiguration, ExecutionEntity execution, CommandContext commandContext, java.lang.String tenantId)
- Specified by:
executeHandlerin classAbstractBatchJobHandler<BatchConfiguration>
-
getJobDeclaration
public JobDeclaration<BatchJobContext,MessageEntity> 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, java.util.List<java.lang.String> processIdsForJob)
- Specified by:
createJobConfigurationin classAbstractBatchJobHandler<BatchConfiguration>
-
getJsonConverterInstance
protected SetVariablesJsonConverter getJsonConverterInstance()
- Specified by:
getJsonConverterInstancein classAbstractBatchJobHandler<BatchConfiguration>
-
getType
public java.lang.String getType()
-
postProcessJob
protected void postProcessJob(BatchConfiguration configuration, JobEntity job, BatchConfiguration jobConfiguration)
- Overrides:
postProcessJobin classAbstractBatchJobHandler<BatchConfiguration>
-
findByteArrayById
protected ByteArrayEntity findByteArrayById(java.lang.String byteArrayId, CommandContext commandContext)
-
-