org.camunda.bpm.engine.impl.cmd
Class AbstractSetJobsRetriesBatchCmd

java.lang.Object
  extended by org.camunda.bpm.engine.impl.cmd.batch.AbstractBatchCmd<T>
      extended by org.camunda.bpm.engine.impl.cmd.batch.AbstractIDBasedBatchCmd<Batch>
          extended by org.camunda.bpm.engine.impl.cmd.AbstractSetJobsRetriesBatchCmd
All Implemented Interfaces:
Command<Batch>
Direct Known Subclasses:
SetJobsRetriesBatchCmd, SetJobsRetriesByProcessBatchCmd

public abstract class AbstractSetJobsRetriesBatchCmd
extends AbstractIDBasedBatchCmd<Batch>

Author:
Askar Akhmerov

Field Summary
protected  int retries
           
 
Constructor Summary
AbstractSetJobsRetriesBatchCmd()
           
 
Method Summary
protected abstract  List<String> collectJobIds(CommandContext commandContext)
           
 Batch execute(CommandContext commandContext)
           
protected  SetRetriesBatchConfiguration getAbstractIdsBatchConfiguration(List<String> ids)
           
protected  BatchJobHandler<SetRetriesBatchConfiguration> getBatchJobHandler(ProcessEngineConfigurationImpl processEngineConfiguration)
           
protected  void writeUserOperationLog(CommandContext commandContext, int retries, int numInstances, boolean async)
           
 
Methods inherited from class org.camunda.bpm.engine.impl.cmd.batch.AbstractIDBasedBatchCmd
calculateSize, createBatch
 
Methods inherited from class org.camunda.bpm.engine.impl.cmd.batch.AbstractBatchCmd
checkAuthorizations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

retries

protected int retries
Constructor Detail

AbstractSetJobsRetriesBatchCmd

public AbstractSetJobsRetriesBatchCmd()
Method Detail

execute

public Batch execute(CommandContext commandContext)

writeUserOperationLog

protected void writeUserOperationLog(CommandContext commandContext,
                                     int retries,
                                     int numInstances,
                                     boolean async)

collectJobIds

protected abstract List<String> collectJobIds(CommandContext commandContext)

getAbstractIdsBatchConfiguration

protected SetRetriesBatchConfiguration getAbstractIdsBatchConfiguration(List<String> ids)
Specified by:
getAbstractIdsBatchConfiguration in class AbstractIDBasedBatchCmd<Batch>

getBatchJobHandler

protected BatchJobHandler<SetRetriesBatchConfiguration> getBatchJobHandler(ProcessEngineConfigurationImpl processEngineConfiguration)
Specified by:
getBatchJobHandler in class AbstractIDBasedBatchCmd<Batch>


Copyright © 2017 camunda services GmbH. All rights reserved.