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
Job declaration for batch monitor jobs. The batch monitor job
polls for the completion of the batch.
- See Also:
-
Field Summary
Fields inherited from class org.camunda.bpm.engine.impl.jobexecutor.JobDeclaration
activity, exclusive, jobConfiguration, jobDefinitionId, jobHandlerConfiguration, jobHandlerType, jobPriorityProvider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected MessageEntity
newJobInstance
(BatchEntity batch) protected ExecutionEntity
resolveExecution
(BatchEntity batch) Returns the execution in which context the job is created.protected String
protected JobHandlerConfiguration
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
-
Constructor Details
-
BatchMonitorJobDeclaration
public BatchMonitorJobDeclaration()
-
-
Method Details
-
resolveExecution
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
- Specified by:
newJobInstance
in classJobDeclaration<BatchEntity,
MessageEntity>
-
resolveJobHandlerConfiguration
- Specified by:
resolveJobHandlerConfiguration
in classJobDeclaration<BatchEntity,
MessageEntity>
-
resolveJobDefinitionId
- Overrides:
resolveJobDefinitionId
in classJobDeclaration<BatchEntity,
MessageEntity>
-
getJobPriorityProvider
- Overrides:
getJobPriorityProvider
in classJobDeclaration<BatchEntity,
MessageEntity>
-