public abstract class JobEvent extends Event implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
JobEvent.EventStatus
Coarse-grained status of the job event
|
Event.MessageType
Constructor and Description |
---|
JobEvent(String id,
String parentId,
String user,
AppType appType,
String appName) |
Modifier and Type | Method and Description |
---|---|
String |
getAppName()
Get the app-name of the job generating this event
|
AppType |
getAppType()
Get the AppType of the event
|
Date |
getEndTime() |
JobEvent.EventStatus |
getEventStatus()
Get the coarse status
|
String |
getId() |
String |
getParentId() |
Date |
getStartTime() |
String |
getUser()
Get user name
|
void |
setAppName(String name) |
void |
setAppType(AppType type) |
void |
setEndTime(Date time) |
void |
setEventStatus(JobEvent.EventStatus eStatus) |
void |
setId(String id) |
void |
setParentId(String id) |
void |
setStartTime(Date time) |
void |
setUser(String euser) |
String |
toString() |
getMsgType, setMsgType
public String getParentId()
public void setParentId(String id)
public AppType getAppType()
public void setAppType(AppType type)
public String getAppName()
public void setAppName(String name)
public JobEvent.EventStatus getEventStatus()
public void setEventStatus(JobEvent.EventStatus eStatus)
public Date getStartTime()
public void setStartTime(Date time)
public Date getEndTime()
public void setEndTime(Date time)
Copyright © 2018 Apache Software Foundation. All rights reserved.