Package com.qfs.snl.data
Interface ISentinelAlert
- All Superinterfaces:
IIdentifiable
,ILocatedResource
,ISiteLocated
- All Known Implementing Classes:
AlertDto
,SentinelAlert
Class representing an alert.
- Author:
- ActiveViam
-
Field Summary
Fields inherited from interface com.qfs.snl.persistence.IIdentifiable
NO_ID
-
Method Summary
Methods inherited from interface com.qfs.snl.persistence.IIdentifiable
getId
Methods inherited from interface com.qfs.snl.monitors.ISiteLocated
getSite
-
Method Details
-
getMonitorId
long getMonitorId()Return the id of the monitor that produced the alert.- Returns:
- the id of the monitor
-
getEventId
Long getEventId()Gets the id of the event that created the alert.- Returns:
- the event id, null if the alert is not related to an event
-
getStart
Long getStart()Gets the start time of the alert.- Returns:
- the audit of the alert start
-
getStop
Long getStop()Gets the stop time of the alert.- Returns:
- the audit of the alert stop
-
getContent
String getContent()Return the information related to that alert.- Returns:
- the content of the alert
-