Interface AlarmObserver
public interface AlarmObserver
The AlarmObserver interface defines the contract for subscribers that observe alarm events and state changes.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
alarmConfigurationChanged
(String alarmName, PropertyValue value) Called when the configuration of an alarm has changed.void
alarmTransitioned
(AlarmEvent event, AlarmStateTransition transition) Called when an alarm has transitioned to a new state.void
Called 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.
-