public class EventInfo
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
EventInfo.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
EventInfo() |
EventInfo(java.lang.Long eventID,
java.lang.Long severity,
java.lang.String eventInfoType,
java.lang.String message,
java.lang.Long serviceID,
java.lang.Long nodeID,
java.lang.Long driveID,
java.lang.Long[] driveIDs,
java.lang.String timeOfReport,
java.lang.String timeOfPublish,
Optional<java.lang.Object> details) |
Modifier and Type | Method and Description |
---|---|
EventInfo.Builder |
asBuilder() |
static EventInfo.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
Optional<java.lang.Object> |
getDetails()
Data assoicated with the event, such as data report or exception details.
|
java.lang.Long |
getDriveID()
Derived from driveIDs field.
|
java.lang.Long[] |
getDriveIDs()
Drive IDs associated with the event.
|
java.lang.Long |
getEventID()
ID of event.
|
java.lang.String |
getEventInfoType()
Event type.
|
java.lang.String |
getMessage()
The message associated with the event.
|
java.lang.Long |
getNodeID()
NodeID associated with the event.
|
java.lang.Long |
getServiceID()
ServiceID associated with the event.
|
java.lang.Long |
getSeverity()
Unused
|
java.lang.String |
getTimeOfPublish()
The time this event was published into the database.
|
java.lang.String |
getTimeOfReport()
The time this event was reported.
|
int |
hashCode() |
void |
setDetails(Optional<java.lang.Object> details) |
void |
setDriveID(java.lang.Long driveID) |
void |
setDriveIDs(java.lang.Long[] driveIDs) |
void |
setEventID(java.lang.Long eventID) |
void |
setEventInfoType(java.lang.String eventInfoType) |
void |
setMessage(java.lang.String message) |
void |
setNodeID(java.lang.Long nodeID) |
void |
setServiceID(java.lang.Long serviceID) |
void |
setSeverity(java.lang.Long severity) |
void |
setTimeOfPublish(java.lang.String timeOfPublish) |
void |
setTimeOfReport(java.lang.String timeOfReport) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
@Since(value="7.0") public EventInfo(java.lang.Long eventID, java.lang.Long severity, java.lang.String eventInfoType, java.lang.String message, java.lang.Long serviceID, java.lang.Long nodeID, java.lang.Long driveID, java.lang.Long[] driveIDs, java.lang.String timeOfReport, java.lang.String timeOfPublish, Optional<java.lang.Object> details)
public java.lang.Long getEventID()
public void setEventID(java.lang.Long eventID)
public java.lang.Long getSeverity()
public void setSeverity(java.lang.Long severity)
public java.lang.String getEventInfoType()
public void setEventInfoType(java.lang.String eventInfoType)
public java.lang.String getMessage()
public void setMessage(java.lang.String message)
public java.lang.Long getServiceID()
public void setServiceID(java.lang.Long serviceID)
public java.lang.Long getNodeID()
public void setNodeID(java.lang.Long nodeID)
public java.lang.Long getDriveID()
public void setDriveID(java.lang.Long driveID)
public java.lang.Long[] getDriveIDs()
public void setDriveIDs(java.lang.Long[] driveIDs)
public java.lang.String getTimeOfReport()
public void setTimeOfReport(java.lang.String timeOfReport)
public java.lang.String getTimeOfPublish()
public void setTimeOfPublish(java.lang.String timeOfPublish)
public Optional<java.lang.Object> getDetails()
public void setDetails(Optional<java.lang.Object> details)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.util.Map<java.lang.String,java.lang.Object> toMap()
public java.lang.String toString()
toString
in class java.lang.Object
public static EventInfo.Builder builder()
public final EventInfo.Builder asBuilder()