org.camunda.bpm.engine.impl.batch.update
Class UpdateProcessInstancesSuspendStateJobHandler

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

public class UpdateProcessInstancesSuspendStateJobHandler
extends AbstractBatchJobHandler<UpdateProcessInstancesSuspendStateBatchConfiguration>


Field Summary
static BatchJobDeclaration JOB_DECLARATION
           
 
Constructor Summary
UpdateProcessInstancesSuspendStateJobHandler()
           
 
Method Summary
protected  UpdateProcessInstancesSuspendStateBatchConfiguration createJobConfiguration(UpdateProcessInstancesSuspendStateBatchConfiguration 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  UpdateProcessInstancesSuspendStateBatchConfigurationJsonConverter 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

UpdateProcessInstancesSuspendStateJobHandler

public UpdateProcessInstancesSuspendStateJobHandler()
Method Detail

getType

public String getType()

getJsonConverterInstance

protected UpdateProcessInstancesSuspendStateBatchConfigurationJsonConverter getJsonConverterInstance()
Specified by:
getJsonConverterInstance in class AbstractBatchJobHandler<UpdateProcessInstancesSuspendStateBatchConfiguration>

getJobDeclaration

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

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

createJobConfiguration

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

execute

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


Copyright © 2017 camunda services GmbH. All rights reserved.