Interface AlertEntity

All Known Implementing Classes:
SimpleAlertEntity

public interface AlertEntity
The persisted entity which contains all details for an Alert
  • Method Details

    • getDetailsJson

      @Nullable String getDetailsJson()
      Returns:
      the JSON representation of the alert's details, if available
    • getId

      long getId()
      Returns:
      the ID of the persisted entity
    • getIssueId

      @Nonnull String getIssueId()
      Returns:
      the ID of the alert's issue
    • getIssueComponentId

      @Nonnull String getIssueComponentId()
      Returns:
      the component ID of the alert's issue's component
    • getIssueSeverity

      @Nonnull Severity getIssueSeverity()
      Returns:
      the severity of the alert's issue
    • getNodeName

      @Nonnull String getNodeName()
      Returns:
      the alert's Alert.getNodeName() node name
    • getTriggerModule

      @Nullable String getTriggerModule()
      Returns:
      the alert trigger's module, if available
    • getTriggerPluginKey

      @Nonnull String getTriggerPluginKey()
      Returns:
      the alert trigger's plugin key, or DiagnosticsConstants.PLUGIN_NOT_DETECTED_KEY if no trigger was detected
    • getTriggerPluginVersion

      @Nullable String getTriggerPluginVersion()
      Returns:
      the alert trigger's AlertTrigger.getPluginVersion() () plugin version}, if available
    • getTimestamp

      @Nonnull Instant getTimestamp()
      Returns:
      the alert's Alert.getTimestamp()