Class BatchMonitorJobDeclaration
- java.lang.Object
-
- org.camunda.bpm.engine.impl.jobexecutor.JobDeclaration<BatchEntity,MessageEntity>
-
- 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
Constructors Constructor Description BatchMonitorJobDeclaration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ParameterValueProvider
getJobPriorityProvider()
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, getProcessDefinition, isExclusive, postInitialize, reconfigure, resolveDueDate, resolveExclusive, resolveJobHandler, resolveJobHandlerType, resolveRetries, setActivity, setExclusive, setJobConfiguration, setJobDefinitionId, setJobPriorityProvider
-
-
-
-
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 classJobDeclaration<BatchEntity,MessageEntity>
-
newJobInstance
protected MessageEntity newJobInstance(BatchEntity batch)
- Specified by:
newJobInstance
in classJobDeclaration<BatchEntity,MessageEntity>
-
resolveJobHandlerConfiguration
protected JobHandlerConfiguration resolveJobHandlerConfiguration(BatchEntity batch)
- Specified by:
resolveJobHandlerConfiguration
in classJobDeclaration<BatchEntity,MessageEntity>
-
resolveJobDefinitionId
protected String resolveJobDefinitionId(BatchEntity batch)
- Overrides:
resolveJobDefinitionId
in classJobDeclaration<BatchEntity,MessageEntity>
-
getJobPriorityProvider
public ParameterValueProvider getJobPriorityProvider()
- Overrides:
getJobPriorityProvider
in classJobDeclaration<BatchEntity,MessageEntity>
-
-