org.apache.oozie.client.event
Class JobEvent
java.lang.Object
org.apache.oozie.client.event.Event
org.apache.oozie.client.event.JobEvent
- All Implemented Interfaces:
- Serializable
public abstract class JobEvent
- extends Event
- implements Serializable
An abstract implementation of the Event interface, related to
notification events after job status changes
- See Also:
- Serialized Form
Fields inherited from class org.apache.oozie.client.event.Event |
msgType |
JobEvent
public JobEvent(String id,
String parentId,
String user,
AppType appType,
String appName)
getId
public String getId()
setId
public void setId(String id)
getParentId
public String getParentId()
setParentId
public void setParentId(String id)
getAppType
public AppType getAppType()
- Get the AppType of the event
- Returns:
- AppType
setAppType
public void setAppType(AppType type)
getAppName
public String getAppName()
- Get the app-name of the job generating this event
- Returns:
- String app-name
setAppName
public void setAppName(String name)
getUser
public String getUser()
- Get user name
- Returns:
- user
setUser
public void setUser(String euser)
getEventStatus
public JobEvent.EventStatus getEventStatus()
- Get the coarse status
- Returns:
- EventStatus
setEventStatus
public void setEventStatus(JobEvent.EventStatus eStatus)
getStartTime
public Date getStartTime()
setStartTime
public void setStartTime(Date time)
getEndTime
public Date getEndTime()
setEndTime
public void setEndTime(Date time)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2013 Apache Software Foundation. All Rights Reserved.