org.camunda.bpm.engine.impl.batch
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
public class BatchMonitorJobDeclaration
- extends JobDeclaration<BatchEntity,MessageEntity>
Job declaration for batch monitor jobs. The batch monitor job
polls for the completion of the batch.
- See Also:
- Serialized Form
| Methods inherited from class org.camunda.bpm.engine.impl.jobexecutor.JobDeclaration |
createJobInstance, getActivity, getActivityId, getJobConfiguration, getJobDefinitionId, getJobHandlerType, getJobPriorityProvider, getProcessDefinition, isExclusive, postInitialize, 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 |
BatchMonitorJobDeclaration
public BatchMonitorJobDeclaration()
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 class JobDeclaration<BatchEntity,MessageEntity>
newJobInstance
protected MessageEntity newJobInstance(BatchEntity batch)
- Specified by:
newJobInstance in class JobDeclaration<BatchEntity,MessageEntity>
resolveJobHandlerConfiguration
protected JobHandlerConfiguration resolveJobHandlerConfiguration(BatchEntity batch)
- Specified by:
resolveJobHandlerConfiguration in class JobDeclaration<BatchEntity,MessageEntity>
resolveJobDefinitionId
protected String resolveJobDefinitionId(BatchEntity batch)
- Overrides:
resolveJobDefinitionId in class JobDeclaration<BatchEntity,MessageEntity>
Copyright © 2016 camunda services GmbH. All rights reserved.