org.camunda.bpm.engine.impl.jobexecutor
Class MessageJobDeclaration

java.lang.Object
  extended by org.camunda.bpm.engine.impl.jobexecutor.JobDeclaration<MessageEntity>
      extended by org.camunda.bpm.engine.impl.jobexecutor.MessageJobDeclaration
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AsyncAfterMessageJobDeclaration, AsyncBeforeMessageJobDeclaration

public class MessageJobDeclaration
extends JobDeclaration<MessageEntity>

Declaration of a Message Job (Asynchronous continuation job)

Author:
Daniel Meyer
See Also:
Serialized Form

Field Summary
static String ASYNC_AFTER
           
static String ASYNC_BEFORE
           
protected  String[] operationIdentifier
           
 
Fields inherited from class org.camunda.bpm.engine.impl.jobexecutor.JobDeclaration
activityId, exclusive, jobConfiguration, jobDefinitionId, jobHandlerConfiguration, jobHandlerType
 
Constructor Summary
MessageJobDeclaration(String[] operationsIdentifier)
           
 
Method Summary
 boolean isApplicableForOperation(AtomicOperation operation)
           
protected  MessageEntity newJobInstance(ExecutionEntity execution)
           
 void setJobHandlerConfiguration(MessageEntity message, ExecutionEntity execution, AtomicOperation executionOperation)
           
protected  void setMessageDueDate(MessageEntity message)
           
 
Methods inherited from class org.camunda.bpm.engine.impl.jobexecutor.JobDeclaration
createJobInstance, getActivityId, getJobConfiguration, getJobDefinitionId, getJobHandlerConfiguration, getJobHandlerType, isExclusive, setActivityId, setExclusive, setJobConfiguration, setJobDefinitionId, setJobHandlerConfiguration, setJobHandlerType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ASYNC_BEFORE

public static final String ASYNC_BEFORE
See Also:
Constant Field Values

ASYNC_AFTER

public static final String ASYNC_AFTER
See Also:
Constant Field Values

operationIdentifier

protected String[] operationIdentifier
Constructor Detail

MessageJobDeclaration

public MessageJobDeclaration(String[] operationsIdentifier)
Method Detail

newJobInstance

protected MessageEntity newJobInstance(ExecutionEntity execution)
Specified by:
newJobInstance in class JobDeclaration<MessageEntity>

setJobHandlerConfiguration

public void setJobHandlerConfiguration(MessageEntity message,
                                       ExecutionEntity execution,
                                       AtomicOperation executionOperation)

isApplicableForOperation

public boolean isApplicableForOperation(AtomicOperation operation)

setMessageDueDate

protected void setMessageDueDate(MessageEntity message)


Copyright © 2015 camunda services GmbH. All rights reserved.