|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.yarn.api.records.timeline.TimelineEvents.EventsOfOneEntity
@InterfaceAudience.Public @InterfaceStability.Unstable public static class TimelineEvents.EventsOfOneEntity
The class that hosts a list of events that are only related to one entity.
| Constructor Summary | |
|---|---|
TimelineEvents.EventsOfOneEntity()
|
|
| Method Summary | |
|---|---|
void |
addEvent(TimelineEvent event)
Add a single event to the existing event list |
void |
addEvents(List<TimelineEvent> events)
Add a list of event to the existing event list |
String |
getEntityId()
Get the entity Id |
String |
getEntityType()
Get the entity type |
List<TimelineEvent> |
getEvents()
Get a list of events |
void |
setEntityId(String entityId)
Set the entity Id |
void |
setEntityType(String entityType)
Set the entity type |
void |
setEvents(List<TimelineEvent> events)
Set the event list to the given list of events |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TimelineEvents.EventsOfOneEntity()
| Method Detail |
|---|
public String getEntityId()
public void setEntityId(String entityId)
entityId - the entity Idpublic String getEntityType()
public void setEntityType(String entityType)
entityType - the entity typepublic List<TimelineEvent> getEvents()
public void addEvent(TimelineEvent event)
event - a single eventpublic void addEvents(List<TimelineEvent> events)
events - a list of eventspublic void setEvents(List<TimelineEvent> events)
events - a list of events
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||