org.camunda.bpm.engine.impl.batch
Class BatchMonitorJobDeclaration

java.lang.Object
  extended by org.camunda.bpm.engine.impl.jobexecutor.JobDeclaration<BatchEntity,MessageEntity>
      extended by org.camunda.bpm.engine.impl.batch.BatchMonitorJobDeclaration
All Implemented Interfaces:
Serializable

public class BatchMonitorJobDeclaration
extends JobDeclaration<BatchEntity,MessageEntity>

Job declaration for batch monitor jobs. The batch monitor job polls for the completion of the batch.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.camunda.bpm.engine.impl.jobexecutor.JobDeclaration
activity, exclusive, jobConfiguration, jobDefinitionId, jobHandlerConfiguration, jobHandlerType, jobPriorityProvider
 
Constructor Summary
BatchMonitorJobDeclaration()
           
 
Method Summary
protected  MessageEntity newJobInstance(BatchEntity batch)
           
protected  ExecutionEntity resolveExecution(BatchEntity batch)
          Returns the execution in which context the job is created.
protected  String resolveJobDefinitionId(BatchEntity batch)
           
protected  JobHandlerConfiguration resolveJobHandlerConfiguration(BatchEntity batch)
           
 
Methods inherited from class org.camunda.bpm.engine.impl.jobexecutor.JobDeclaration
createJobInstance, getActivity, getActivityId, getJobConfiguration, getJobDefinitionId, getJobHandlerType, getJobPriorityProvider, getProcessDefinition, isExclusive, postInitialize, resolveDueDate, resolveExclusive, resolveJobHandler, resolveJobHandlerType, resolveRetries, setActivity, setExclusive, setJobConfiguration, setJobDefinitionId, setJobPriorityProvider
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BatchMonitorJobDeclaration

public BatchMonitorJobDeclaration()
Method Detail

resolveExecution

protected ExecutionEntity resolveExecution(BatchEntity batch)
Description copied from class: JobDeclaration
Returns the execution in which context the job is created. The execution is used to determine the job's priority based on a BPMN activity the execution is currently executing. May be null.

Specified by:
resolveExecution in class JobDeclaration<BatchEntity,MessageEntity>

newJobInstance

protected MessageEntity newJobInstance(BatchEntity batch)
Specified by:
newJobInstance in class JobDeclaration<BatchEntity,MessageEntity>

resolveJobHandlerConfiguration

protected JobHandlerConfiguration resolveJobHandlerConfiguration(BatchEntity batch)
Specified by:
resolveJobHandlerConfiguration in class JobDeclaration<BatchEntity,MessageEntity>

resolveJobDefinitionId

protected String resolveJobDefinitionId(BatchEntity batch)
Overrides:
resolveJobDefinitionId in class JobDeclaration<BatchEntity,MessageEntity>


Copyright © 2016 camunda services GmbH. All rights reserved.