Class MessageJobDeclaration
java.lang.Object
org.camunda.bpm.engine.impl.jobexecutor.JobDeclaration<AtomicOperationInvocation,MessageEntity>
org.camunda.bpm.engine.impl.jobexecutor.MessageJobDeclaration
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AsyncAfterMessageJobDeclaration
,AsyncBeforeMessageJobDeclaration
Declaration of a Message Job (Asynchronous continuation job)
- Author:
- Daniel Meyer
- 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 TypeMethodDescriptionboolean
isApplicableForOperation
(AtomicOperation operation) protected MessageEntity
newJobInstance
(AtomicOperationInvocation context) protected ExecutionEntity
Returns the execution in which context the job is created.protected JobHandlerConfiguration
Methods inherited from class org.camunda.bpm.engine.impl.jobexecutor.JobDeclaration
createJobInstance, getActivity, getActivityId, getJobConfiguration, getJobDefinitionId, getJobHandlerType, getJobPriorityProvider, getProcessDefinition, isExclusive, postInitialize, reconfigure, resolveDueDate, resolveExclusive, resolveJobDefinitionId, resolveJobHandler, resolveJobHandlerType, resolveRetries, setActivity, setExclusive, setJobConfiguration, setJobDefinitionId, setJobPriorityProvider
-
Field Details
-
ASYNC_BEFORE
- See Also:
-
ASYNC_AFTER
- See Also:
-
operationIdentifier
-
-
Constructor Details
-
MessageJobDeclaration
-
-
Method Details
-
newJobInstance
- Specified by:
newJobInstance
in classJobDeclaration<AtomicOperationInvocation,
MessageEntity>
-
isApplicableForOperation
-
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<AtomicOperationInvocation,
MessageEntity>
-
resolveJobHandlerConfiguration
- Specified by:
resolveJobHandlerConfiguration
in classJobDeclaration<AtomicOperationInvocation,
MessageEntity>
-