public class MessageJobDeclaration extends JobDeclaration<ExecutionEntity,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(ExecutionEntity execution) |
protected ExecutionEntity |
resolveExecution(ExecutionEntity context) |
void |
setJobHandlerConfiguration(MessageEntity message,
ExecutionEntity execution,
AtomicOperation executionOperation) |
createJobInstance, getActivity, getActivityId, getJobConfiguration, getJobDefinitionId, getJobHandlerConfiguration, getJobHandlerType, getJobPriorityProvider, getProcessDefinition, isExclusive, postInitialize, resolveDueDate, resolveExclusive, resolveJobDefinitionId, resolveJobHandlerConfiguration, resolveJobHandlerType, resolveRetries, setActivity, setExclusive, setJobConfiguration, setJobDefinitionId, setJobHandlerConfiguration, setJobHandlerType, setJobPriorityProvider
public static final String ASYNC_BEFORE
public static final String ASYNC_AFTER
protected String[] operationIdentifier
public MessageJobDeclaration(String[] operationsIdentifier)
protected MessageEntity newJobInstance(ExecutionEntity execution)
newJobInstance
in class JobDeclaration<ExecutionEntity,MessageEntity>
public void setJobHandlerConfiguration(MessageEntity message, ExecutionEntity execution, AtomicOperation executionOperation)
public boolean isApplicableForOperation(AtomicOperation operation)
protected ExecutionEntity resolveExecution(ExecutionEntity context)
resolveExecution
in class JobDeclaration<ExecutionEntity,MessageEntity>
Copyright © 2018. All rights reserved.