org.camunda.bpm.engine.impl
Class ModificationBatchJobHandler

java.lang.Object
  extended by org.camunda.bpm.engine.impl.batch.AbstractBatchJobHandler<ModificationBatchConfiguration>
      extended by org.camunda.bpm.engine.impl.ModificationBatchJobHandler
All Implemented Interfaces:
BatchJobHandler<ModificationBatchConfiguration>, JobHandler<BatchJobConfiguration>

public class ModificationBatchJobHandler
extends AbstractBatchJobHandler<ModificationBatchConfiguration>


Field Summary
static BatchJobDeclaration JOB_DECLARATION
           
 
Constructor Summary
ModificationBatchJobHandler()
           
 
Method Summary
protected  ModificationBatchConfiguration createJobConfiguration(ModificationBatchConfiguration configuration, List<String> processIdsForJob)
           
 void execute(BatchJobConfiguration configuration, ExecutionEntity execution, CommandContext commandContext, String tenantId)
           
 JobDeclaration<BatchJobContext,MessageEntity> getJobDeclaration()
          Get the job declaration for batch jobs.
protected  ModificationBatchConfigurationJsonConverter getJsonConverterInstance()
           
protected  ProcessDefinitionEntity getProcessDefinition(CommandContext commandContext, String processDefinitionId)
           
 String getType()
           
protected  void postProcessJob(ModificationBatchConfiguration configuration, JobEntity job)
           
 
Methods inherited from class org.camunda.bpm.engine.impl.batch.AbstractBatchJobHandler
createBatchJob, createJobs, deleteJobs, newConfiguration, onDelete, readConfiguration, saveConfiguration, writeConfiguration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JOB_DECLARATION

public static final BatchJobDeclaration JOB_DECLARATION
Constructor Detail

ModificationBatchJobHandler

public ModificationBatchJobHandler()
Method Detail

getType

public String getType()

postProcessJob

protected void postProcessJob(ModificationBatchConfiguration configuration,
                              JobEntity job)
Overrides:
postProcessJob in class AbstractBatchJobHandler<ModificationBatchConfiguration>

execute

public void execute(BatchJobConfiguration configuration,
                    ExecutionEntity execution,
                    CommandContext commandContext,
                    String tenantId)

getJobDeclaration

public JobDeclaration<BatchJobContext,MessageEntity> getJobDeclaration()
Description copied from interface: BatchJobHandler
Get the job declaration for batch jobs.

Specified by:
getJobDeclaration in interface BatchJobHandler<ModificationBatchConfiguration>
Specified by:
getJobDeclaration in class AbstractBatchJobHandler<ModificationBatchConfiguration>
Returns:
the batch job declaration

createJobConfiguration

protected ModificationBatchConfiguration createJobConfiguration(ModificationBatchConfiguration configuration,
                                                                List<String> processIdsForJob)
Specified by:
createJobConfiguration in class AbstractBatchJobHandler<ModificationBatchConfiguration>

getJsonConverterInstance

protected ModificationBatchConfigurationJsonConverter getJsonConverterInstance()
Specified by:
getJsonConverterInstance in class AbstractBatchJobHandler<ModificationBatchConfiguration>

getProcessDefinition

protected ProcessDefinitionEntity getProcessDefinition(CommandContext commandContext,
                                                       String processDefinitionId)


Copyright © 2017 camunda services GmbH. All rights reserved.