Interface NotificationContext

    • Method Detail

      • getUser

        User getUser()
        the User to notify.
      • getAlarmEvents

        java.util.List<AlarmEvent> getAlarmEvents()
        A List of AlarmEvents that triggered this notification.
      • notificationDone

        void notificationDone()
        Call when notification has been completed successfully.
      • notificationFailed

        void notificationFailed​(LocalizedString failureMessage)
        None of the AlarmEvents in this context could be sent due some underlying failure. If a fall-back for the current AlarmPipeline is defined, all events will be placed upon it for evaluation.
        failureMessage - The reason for failure. This message will be user-facing in the pipeline status area if no fall-back is defined.