Interface AlarmObserver
public interface AlarmObserver
The AlarmObserver interface defines the contract for subscribers that observe alarm events and state changes.
-
Method Summary
Modifier and TypeMethodDescriptionvoidalarmConfigurationChanged(String alarmName, PropertyValue value) Called when the configuration of an alarm has changed.voidalarmTransitioned(AlarmEvent event, AlarmStateTransition transition) Called when an alarm has transitioned to a new state.voidCalled when the shelved state of the alarm has changed.
-
Method Details
-
alarmConfigurationChanged
Called when the configuration of an alarm has changed.- Parameters:
alarmName- The name of the alarm whose configuration has changed.value- The new property value associated with the alarm configuration.
-
alarmTransitioned
Called when an alarm has transitioned to a new state.- Parameters:
event- The alarm event that triggered the transition.transition- The state transition that occurred.
-
shelvedStateChanged
void shelvedStateChanged()Called when the shelved state of the alarm has changed.
-