public class MessageJobDeclaration extends JobDeclaration<AtomicOperationInvocation,MessageEntity>
Declaration of a Message Job (Asynchronous continuation job)
Modifier and Type | Field and Description |
---|---|
static String |
ASYNC_AFTER |
static String |
ASYNC_BEFORE |
protected String[] |
operationIdentifier |
activity, exclusive, jobConfiguration, jobDefinitionId, jobHandlerConfiguration, jobHandlerType, jobPriorityProvider
Constructor and Description |
---|
MessageJobDeclaration(String[] operationsIdentifier) |
Modifier and Type | Method and Description |
---|---|
boolean |
isApplicableForOperation(AtomicOperation operation) |
protected MessageEntity |
newJobInstance(AtomicOperationInvocation context) |
protected ExecutionEntity |
resolveExecution(AtomicOperationInvocation context)
Returns the execution in which context the job is created.
|
protected JobHandlerConfiguration |
resolveJobHandlerConfiguration(AtomicOperationInvocation context) |
createJobInstance, getActivity, getActivityId, getJobConfiguration, getJobDefinitionId, getJobHandlerType, getJobPriorityProvider, getProcessDefinition, isExclusive, postInitialize, reconfigure, resolveDueDate, resolveExclusive, resolveJobDefinitionId, resolveJobHandler, resolveJobHandlerType, resolveRetries, setActivity, setExclusive, setJobConfiguration, setJobDefinitionId, setJobPriorityProvider
public static final String ASYNC_BEFORE
public static final String ASYNC_AFTER
protected String[] operationIdentifier
public MessageJobDeclaration(String[] operationsIdentifier)
protected MessageEntity newJobInstance(AtomicOperationInvocation context)
newJobInstance
in class JobDeclaration<AtomicOperationInvocation,MessageEntity>
public boolean isApplicableForOperation(AtomicOperation operation)
protected ExecutionEntity resolveExecution(AtomicOperationInvocation context)
JobDeclaration
resolveExecution
in class JobDeclaration<AtomicOperationInvocation,MessageEntity>
protected JobHandlerConfiguration resolveJobHandlerConfiguration(AtomicOperationInvocation context)
resolveJobHandlerConfiguration
in class JobDeclaration<AtomicOperationInvocation,MessageEntity>
Copyright © 2021. All rights reserved.