Class BatchSeedJobDeclaration
- java.lang.Object
-
- org.camunda.bpm.engine.impl.jobexecutor.JobDeclaration<BatchEntity,MessageEntity>
-
- org.camunda.bpm.engine.impl.batch.BatchSeedJobDeclaration
-
- All Implemented Interfaces:
java.io.Serializable
public class BatchSeedJobDeclaration extends JobDeclaration<BatchEntity,MessageEntity>
Job declaration for batch seed jobs. The batch seed job creates all batch jobs required to complete 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 BatchSeedJobDeclaration()
-
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 java.lang.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 java.lang.String resolveJobDefinitionId(BatchEntity batch)
- Overrides:
resolveJobDefinitionId
in classJobDeclaration<BatchEntity,MessageEntity>
-
getJobPriorityProvider
public ParameterValueProvider getJobPriorityProvider()
- Overrides:
getJobPriorityProvider
in classJobDeclaration<BatchEntity,MessageEntity>
-
-