org.apache.oozie.event
Class WorkflowJobEvent
java.lang.Object
org.apache.oozie.client.event.Event
org.apache.oozie.client.event.JobEvent
org.apache.oozie.event.WorkflowJobEvent
- All Implemented Interfaces:
- Serializable
public class WorkflowJobEvent
- extends org.apache.oozie.client.event.JobEvent
Class implementing JobEvent for events generated by Workflow Jobs
- See Also:
- Serialized Form
Nested classes/interfaces inherited from class org.apache.oozie.client.event.JobEvent |
org.apache.oozie.client.event.JobEvent.EventStatus |
Nested classes/interfaces inherited from class org.apache.oozie.client.event.Event |
org.apache.oozie.client.event.Event.MessageType |
Fields inherited from class org.apache.oozie.client.event.Event |
msgType |
Methods inherited from class org.apache.oozie.client.event.JobEvent |
getAppName, getAppType, getEndTime, getEventStatus, getId, getParentId, getStartTime, getUser, setAppName, setAppType, setEndTime, setEventStatus, setId, setParentId, setStartTime, setUser, toString |
Methods inherited from class org.apache.oozie.client.event.Event |
getMsgType, setMsgType |
WorkflowJobEvent
public WorkflowJobEvent(String id,
String parentId,
org.apache.oozie.client.WorkflowJob.Status status,
String user,
String appName,
Date startTime,
Date endTime)
getCoordJobId
public String getCoordJobId()
getStatus
public org.apache.oozie.client.WorkflowJob.Status getStatus()
getErrorCode
public String getErrorCode()
setErrorCode
public void setErrorCode(String code)
getErrorMessage
public String getErrorMessage()
setErrorMessage
public void setErrorMessage(String msg)
setStatus
public void setStatus(org.apache.oozie.client.WorkflowJob.Status wfstatus)
Copyright © 2013 Apache Software Foundation. All Rights Reserved.