|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.oozie.client.event.message.EventMessage
org.apache.oozie.client.event.message.JobMessage
public class JobMessage
Class holding attributes related to a job message
| Constructor Summary | |
|---|---|
JobMessage()
Default constructor |
|
JobMessage(JobEvent.EventStatus eventStatus,
AppType appType,
String id,
String parentId,
Date startTime,
Date endTime,
String user,
String appName)
Constructs a job message |
|
| Method Summary | |
|---|---|
String |
getAppName()
Gets the job's app name |
Date |
getEndTime()
Gets the job end time |
JobEvent.EventStatus |
getEventStatus()
Gets the event status |
String |
getId()
Gets the job id |
Map<String,String> |
getMessageProperties()
Gets the message properties |
String |
getParentId()
Gets the parent job id |
Date |
getStartTime()
Gets the job start time |
String |
getUser()
Gets the job user |
void |
setAppName(String appName)
Sets the job's app name for message |
void |
setEndTime(Date endTime)
Sets the job end time for message |
void |
setEventStatus(JobEvent.EventStatus eventStatus)
Sets the event status |
void |
setId(String id)
Sets the Job id for message |
void |
setParentId(String parentId)
Sets the parent job id for message |
void |
setProperties(javax.jms.Message message)
Set the JMS selector properties for message object |
void |
setStartTime(Date startTime)
Sets the job start time for message |
void |
setUser(String user)
sets the job user for the msg |
| Methods inherited from class org.apache.oozie.client.event.message.EventMessage |
|---|
getAppType, getMessageType, setAppType, setMessageType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JobMessage()
public JobMessage(JobEvent.EventStatus eventStatus,
AppType appType,
String id,
String parentId,
Date startTime,
Date endTime,
String user,
String appName)
eventStatus - the event statusappType - the appType for eventid - the id of jobparentId - the parent id of jobstartTime - the start time of jobendTime - the end time of jobuser - user of the jobappName - appName for job| Method Detail |
|---|
public void setId(String id)
id - the job idpublic String getId()
public void setParentId(String parentId)
parentId - the parent job idpublic String getParentId()
public void setStartTime(Date startTime)
startTime - public Date getStartTime()
public void setEndTime(Date endTime)
endTime - public Date getEndTime()
public void setAppName(String appName)
appName - public String getAppName()
public Map<String,String> getMessageProperties()
public void setUser(String user)
user - public String getUser()
public void setEventStatus(JobEvent.EventStatus eventStatus)
eventStatus - public JobEvent.EventStatus getEventStatus()
public void setProperties(javax.jms.Message message)
throws javax.jms.JMSException
EventMessage
setProperties in class EventMessagejavax.jms.JMSException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||