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 Link icon

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

    NO_ID
  • Method Summary Link icon

    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 Link icon

    getId

    Methods inherited from interface com.qfs.snl.monitors.ISiteLocated Link icon

    getSite
  • Method Details Link icon

    • getMonitorId Link icon

      long getMonitorId()
      Return the id of the monitor that produced the alert.
      Returns:
      the id of the monitor
    • getEventId Link icon

      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 Link icon

      Long getStart()
      Gets the start time of the alert.
      Returns:
      the audit of the alert start
    • getStop Link icon

      Long getStop()
      Gets the stop time of the alert.
      Returns:
      the audit of the alert stop
    • getContent Link icon

      String getContent()
      Return the information related to that alert.
      Returns:
      the content of the alert