org.camunda.bpm.engine.impl.batch.job
Class SetJobRetriesJobHandler

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

public class SetJobRetriesJobHandler
extends AbstractBatchJobHandler<SetRetriesBatchConfiguration>

Author:
Askar Akhmerov

Field Summary
static BatchJobDeclaration JOB_DECLARATION
           
 
Constructor Summary
SetJobRetriesJobHandler()
           
 
Method Summary
protected  SetRetriesBatchConfiguration createJobConfiguration(SetRetriesBatchConfiguration configuration, List<String> jobIds)
           
 void execute(BatchJobConfiguration configuration, ExecutionEntity execution, CommandContext commandContext, String tenantId)
           
 JobDeclaration<BatchJobContext,MessageEntity> getJobDeclaration()
          Get the job declaration for batch jobs.
protected  SetJobRetriesBatchConfigurationJsonConverter 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

SetJobRetriesJobHandler

public SetJobRetriesJobHandler()
Method Detail

getType

public String getType()

getJsonConverterInstance

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

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> jobIds)
Specified by:
createJobConfiguration in class AbstractBatchJobHandler<SetRetriesBatchConfiguration>

execute

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


Copyright © 2017 camunda services GmbH. All rights reserved.