Class BatchJobDeclaration
- java.lang.Object
-
- org.camunda.bpm.engine.impl.jobexecutor.JobDeclaration<BatchJobContext,MessageEntity>
-
- org.camunda.bpm.engine.impl.batch.BatchJobDeclaration
-
- All Implemented Interfaces:
java.io.Serializable
public class BatchJobDeclaration extends JobDeclaration<BatchJobContext,MessageEntity>
- 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 BatchJobDeclaration(java.lang.String jobHandlerType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ParameterValueProvidergetJobPriorityProvider()protected MessageEntitynewJobInstance(BatchJobContext context)protected ExecutionEntityresolveExecution(BatchJobContext context)Returns the execution in which context the job is created.protected java.lang.StringresolveJobDefinitionId(BatchJobContext context)protected JobHandlerConfigurationresolveJobHandlerConfiguration(BatchJobContext context)-
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(BatchJobContext context)
Description copied from class:JobDeclarationReturns 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:
resolveExecutionin classJobDeclaration<BatchJobContext,MessageEntity>
-
newJobInstance
protected MessageEntity newJobInstance(BatchJobContext context)
- Specified by:
newJobInstancein classJobDeclaration<BatchJobContext,MessageEntity>
-
resolveJobHandlerConfiguration
protected JobHandlerConfiguration resolveJobHandlerConfiguration(BatchJobContext context)
- Specified by:
resolveJobHandlerConfigurationin classJobDeclaration<BatchJobContext,MessageEntity>
-
resolveJobDefinitionId
protected java.lang.String resolveJobDefinitionId(BatchJobContext context)
- Overrides:
resolveJobDefinitionIdin classJobDeclaration<BatchJobContext,MessageEntity>
-
getJobPriorityProvider
public ParameterValueProvider getJobPriorityProvider()
- Overrides:
getJobPriorityProviderin classJobDeclaration<BatchJobContext,MessageEntity>
-
-