org.camunda.bpm.engine.impl.batch
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
public class BatchJobDeclaration
- extends JobDeclaration<BatchJobContext,MessageEntity>
- See Also:
- Serialized Form
| 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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BatchJobDeclaration
public BatchJobDeclaration(String jobHandlerType)
resolveExecution
protected ExecutionEntity resolveExecution(BatchJobContext context)
- 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 class JobDeclaration<BatchJobContext,MessageEntity>
newJobInstance
protected MessageEntity newJobInstance(BatchJobContext context)
- Specified by:
newJobInstance in class JobDeclaration<BatchJobContext,MessageEntity>
resolveJobHandlerConfiguration
protected JobHandlerConfiguration resolveJobHandlerConfiguration(BatchJobContext context)
- Specified by:
resolveJobHandlerConfiguration in class JobDeclaration<BatchJobContext,MessageEntity>
resolveJobDefinitionId
protected String resolveJobDefinitionId(BatchJobContext context)
- Overrides:
resolveJobDefinitionId in class JobDeclaration<BatchJobContext,MessageEntity>
getJobPriorityProvider
public ParameterValueProvider getJobPriorityProvider()
- Overrides:
getJobPriorityProvider in class JobDeclaration<BatchJobContext,MessageEntity>
Copyright © 2017 camunda services GmbH. All rights reserved.