Interface AlarmEntityNotifier

  • All Known Implementing Classes:
    AlarmEntityNotifierImpl

    public interface AlarmEntityNotifier
    This interface provide functions that should be called immediately after changing the alarm entities while maintaining an open transaction. The implementation should in turn notify any interested listeners i.e. northbounders, correlation engines, etc... about the state change. The implementation should be thread safe.
    Author:
    jwhite
    • Method Detail

      • didCreateAlarm

        void didCreateAlarm​(OnmsAlarm alarm)
      • didUpdateAlarmWithReducedEvent

        void didUpdateAlarmWithReducedEvent​(OnmsAlarm alarm)
      • didAcknowledgeAlarm

        void didAcknowledgeAlarm​(OnmsAlarm alarm,
                                 java.lang.String previousAckUser,
                                 java.util.Date previousAckTime)
      • didUnacknowledgeAlarm

        void didUnacknowledgeAlarm​(OnmsAlarm alarm,
                                   java.lang.String previousAckUser,
                                   java.util.Date previousAckTime)
      • didUpdateAlarmSeverity

        void didUpdateAlarmSeverity​(OnmsAlarm alarm,
                                    OnmsSeverity previousSeverity)
      • didArchiveAlarm

        void didArchiveAlarm​(OnmsAlarm alarm,
                             java.lang.String previousReductionKey)
      • didDeleteAlarm

        void didDeleteAlarm​(OnmsAlarm alarm)
      • didUpdateStickyMemo

        void didUpdateStickyMemo​(OnmsAlarm onmsAlarm,
                                 java.lang.String previousBody,
                                 java.lang.String previousAuthor,
                                 java.util.Date previousUpdated)
      • didUpdateReductionKeyMemo

        void didUpdateReductionKeyMemo​(OnmsAlarm onmsAlarm,
                                       java.lang.String previousBody,
                                       java.lang.String previousAuthor,
                                       java.util.Date previousUpdated)
      • didDeleteStickyMemo

        void didDeleteStickyMemo​(OnmsAlarm onmsAlarm,
                                 OnmsMemo memo)
      • didUpdateLastAutomationTime

        void didUpdateLastAutomationTime​(OnmsAlarm alarm,
                                         java.util.Date previousLastAutomationTime)
      • didUpdateRelatedAlarms

        void didUpdateRelatedAlarms​(OnmsAlarm alarm,
                                    java.util.Set<OnmsAlarm> previousRelatedAlarms)