org.camunda.bpm.engine.impl.batch.externaltask
Class SetExternalTaskRetriesJobHandler

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

public class SetExternalTaskRetriesJobHandler
extends AbstractBatchJobHandler<SetRetriesBatchConfiguration>


Field Summary
static BatchJobDeclaration JOB_DECLARATION
           
 
Constructor Summary
SetExternalTaskRetriesJobHandler()
           
 
Method Summary
protected  SetRetriesBatchConfiguration createJobConfiguration(SetRetriesBatchConfiguration 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  SetExternalTaskRetriesBatchConfigurationJsonConverter getJsonConverterInstance()
           
 String getType()
           
 
Methods inherited from class org.camunda.bpm.engine.impl.batch.AbstractBatchJobHandler
createBatchJob, createJobs, deleteJobs, newConfiguration, onDelete, postProcessJob, 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

SetExternalTaskRetriesJobHandler

public SetExternalTaskRetriesJobHandler()
Method Detail

getType

public String getType()

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<SetRetriesBatchConfiguration>
Specified by:
getJobDeclaration in class AbstractBatchJobHandler<SetRetriesBatchConfiguration>
Returns:
the batch job declaration

createJobConfiguration

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

getJsonConverterInstance

protected SetExternalTaskRetriesBatchConfigurationJsonConverter getJsonConverterInstance()
Specified by:
getJsonConverterInstance in class AbstractBatchJobHandler<SetRetriesBatchConfiguration>


Copyright © 2017 camunda services GmbH. All rights reserved.