java.lang.Comparable<TimelineEvent>@Public @Evolving public class TimelineEvent extends java.lang.Object implements java.lang.Comparable<TimelineEvent>
| Constructor | Description |
|---|---|
TimelineEvent() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
addEventInfo(java.lang.String key,
java.lang.Object value) |
Add one piece of the information of the event to the existing information
map
|
void |
addEventInfo(java.util.Map<java.lang.String,java.lang.Object> eventInfo) |
Add a map of the information of the event to the existing information map
|
int |
compareTo(TimelineEvent other) |
|
boolean |
equals(java.lang.Object o) |
|
java.util.Map<java.lang.String,java.lang.Object> |
getEventInfo() |
Set the information of the event
|
java.util.HashMap<java.lang.String,java.lang.Object> |
getEventInfoJAXB() |
|
java.lang.String |
getEventType() |
Get the event type
|
long |
getTimestamp() |
Get the timestamp of the event
|
int |
hashCode() |
|
void |
setEventInfo(java.util.Map<java.lang.String,java.lang.Object> eventInfo) |
Set the information map to the given map of the information of the event
|
void |
setEventType(java.lang.String eventType) |
Set the event type
|
void |
setTimestamp(long timestamp) |
Set the timestamp of the event
|
public long getTimestamp()
public void setTimestamp(long timestamp)
timestamp - the timestamp of the eventpublic java.lang.String getEventType()
public void setEventType(java.lang.String eventType)
eventType - the event typepublic java.util.Map<java.lang.String,java.lang.Object> getEventInfo()
@Private public java.util.HashMap<java.lang.String,java.lang.Object> getEventInfoJAXB()
public void addEventInfo(java.lang.String key,
java.lang.Object value)
key - the information keyvalue - the information valuepublic void addEventInfo(java.util.Map<java.lang.String,java.lang.Object> eventInfo)
eventInfo - a map of of the information of the eventpublic void setEventInfo(java.util.Map<java.lang.String,java.lang.Object> eventInfo)
eventInfo - a map of of the information of the eventpublic int compareTo(TimelineEvent other)
compareTo in interface java.lang.Comparable<TimelineEvent>public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2008–2025 Apache Software Foundation. All rights reserved.