Class BatchJobDeclaration
java.lang.Object
org.camunda.bpm.engine.impl.jobexecutor.JobDeclaration<BatchJobContext,MessageEntity>
org.camunda.bpm.engine.impl.batch.BatchJobDeclaration
- All Implemented Interfaces:
Serializable
- 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
(BatchJobContext context) reconfigure
(BatchJobContext context, MessageEntity job) Re-initialize configuration part.protected ExecutionEntity
resolveExecution
(BatchJobContext context) Returns the execution in which context the job is created.protected String
resolveJobDefinitionId
(BatchJobContext context) protected JobHandlerConfiguration
Methods inherited from class org.camunda.bpm.engine.impl.jobexecutor.JobDeclaration
createJobInstance, getActivity, getActivityId, getJobConfiguration, getJobDefinitionId, getJobHandlerType, getProcessDefinition, isExclusive, postInitialize, resolveDueDate, resolveExclusive, resolveJobHandler, resolveJobHandlerType, resolveRetries, setActivity, setExclusive, setJobConfiguration, setJobDefinitionId, setJobPriorityProvider
-
Constructor Details
-
BatchJobDeclaration
-
-
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<BatchJobContext,
MessageEntity>
-
newJobInstance
- Specified by:
newJobInstance
in classJobDeclaration<BatchJobContext,
MessageEntity>
-
resolveJobHandlerConfiguration
- Specified by:
resolveJobHandlerConfiguration
in classJobDeclaration<BatchJobContext,
MessageEntity>
-
resolveJobDefinitionId
- Overrides:
resolveJobDefinitionId
in classJobDeclaration<BatchJobContext,
MessageEntity>
-
getJobPriorityProvider
- Overrides:
getJobPriorityProvider
in classJobDeclaration<BatchJobContext,
MessageEntity>
-
reconfigure
Description copied from class:JobDeclaration
Re-initialize configuration part.- Overrides:
reconfigure
in classJobDeclaration<BatchJobContext,
MessageEntity>
-