Interface ISentinelAlert

All Superinterfaces:
IIdentifiable, ILocatedResource, ISiteLocated
All Known Implementing Classes:
AlertDto, SentinelAlert

public interface ISentinelAlert extends ILocatedResource
Class representing an alert.
Author:
ActiveViam
  • Field Summary

    Fields inherited from interface com.qfs.snl.persistence.IIdentifiable

    NO_ID
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the information related to that alert.
    Gets the id of the event that created the alert.
    long
    Return the id of the monitor that produced the alert.
    Gets the start time of the alert.
    Gets the stop time of the alert.

    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