|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.oozie.event.messaging.MessageFactory
public class MessageFactory
Factory for constructing messages and retrieving the serializer
Field Summary | |
---|---|
static String |
OOZIE_MESSAGE_FORMAT
|
static String |
OOZIE_MESSAGE_SERIALIZE
|
Constructor Summary | |
---|---|
MessageFactory()
|
Method Summary | |
---|---|
static org.apache.oozie.client.event.message.CoordinatorActionMessage |
createCoordinatorActionMessage(CoordinatorActionEvent coordActionEvent)
Constructs and returns the coordinator action message for coordinator action event |
static org.apache.oozie.client.event.message.SLAMessage |
createSLAMessage(org.apache.oozie.client.event.SLAEvent event)
Constructs and returns SLA notification message |
static org.apache.oozie.client.event.message.WorkflowJobMessage |
createWorkflowJobMessage(WorkflowJobEvent wfJobEvent)
Constructs and returns the workflow job message for workflow job event |
static MessageSerializer |
getMessageSerializer()
Gets the configured serializer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String OOZIE_MESSAGE_FORMAT
public static final String OOZIE_MESSAGE_SERIALIZE
Constructor Detail |
---|
public MessageFactory()
Method Detail |
---|
public static MessageSerializer getMessageSerializer()
public static org.apache.oozie.client.event.message.WorkflowJobMessage createWorkflowJobMessage(WorkflowJobEvent wfJobEvent)
wfJobEvent
- the workflow job event
public static org.apache.oozie.client.event.message.CoordinatorActionMessage createCoordinatorActionMessage(CoordinatorActionEvent coordActionEvent)
coordActionEvent
- the coordinator action event
public static org.apache.oozie.client.event.message.SLAMessage createSLAMessage(org.apache.oozie.client.event.SLAEvent event)
event
- SLA event
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |