|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.oozie.client.event.message.EventMessage org.apache.oozie.client.event.message.JobMessage org.apache.oozie.client.event.message.CoordinatorActionMessage
public class CoordinatorActionMessage
Class holding attributes related to Coordinator action message
Constructor Summary | |
---|---|
CoordinatorActionMessage()
Default constructor |
|
CoordinatorActionMessage(JobEvent.EventStatus eventStatus,
String coordinatorActionId,
String coordinatorJobId,
Date startTime,
Date endTime,
Date nominalTime,
CoordinatorAction.Status status,
String user,
String appName,
String missingDependency,
String errorCode,
String errorMessage)
Constructs the coordinator action message |
Method Summary | |
---|---|
String |
getErrorCode()
Get the error code |
String |
getErrorMessage()
Get the error message |
String |
getMissingDependency()
Get the missing dependency |
Date |
getNominalTime()
Get the nominal time |
CoordinatorAction.Status |
getStatus()
Get the status of coord action |
void |
setErrorCode(String errorCode)
Set the error code |
void |
setErrorMessage(String errorMessage)
Set the error message |
void |
setMissingDependency(String missingDependency)
Set the missing dependency |
void |
setNominalTime(Date nominalTime)
Set the nominal time |
void |
setStatus(CoordinatorAction.Status status)
Set the status of coordinator action |
Methods inherited from class org.apache.oozie.client.event.message.JobMessage |
---|
getAppName, getEndTime, getEventStatus, getId, getMessageProperties, getParentId, getStartTime, getUser, setAppName, setEndTime, setEventStatus, setId, setParentId, setProperties, setStartTime, setUser |
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 CoordinatorActionMessage()
public CoordinatorActionMessage(JobEvent.EventStatus eventStatus, String coordinatorActionId, String coordinatorJobId, Date startTime, Date endTime, Date nominalTime, CoordinatorAction.Status status, String user, String appName, String missingDependency, String errorCode, String errorMessage)
eventStatus
- the event statuscoordinatorActionId
- the coord action idcoordinatorJobId
- the parent job idstartTime
- the created time of coord actionendTime
- the end time of coord actionnominalTime
- the nominal time of coord actionstatus
- the status of coord actionuser
- the user of coordinatorappName
- the app name of coordinatormissingDependency
- the action's first missing dependencyerrorCode
- the action's error codeerrorMessage
- the action's error messageMethod Detail |
---|
public void setStatus(CoordinatorAction.Status status)
status
- public CoordinatorAction.Status getStatus()
public void setNominalTime(Date nominalTime)
nominalTime
- public Date getNominalTime()
public void setErrorCode(String errorCode)
errorCode
- public String getErrorCode()
public void setErrorMessage(String errorMessage)
errorMessage
- public String getErrorMessage()
public void setMissingDependency(String missingDependency)
missingDependency
- public String getMissingDependency()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |