Interface Alarm
public interface Alarm
This class represents an alarm raised in the system.
- Since:
- 5.2.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns theAlarmIdentifieridentifying the alarm.Returns the alarm text - a human-readable description of the cause of the alarm.Returns the perceived severity of the alarm.Returns the last update of this alarm.booleanReturns the cleared status of this alarm.booleanReturns true if this alarm has been triggered synthetically to test the alarm subsystem and all configuredAlarmHandler.
-
Method Details
-
getAlarmIdentifier
AlarmIdentifier getAlarmIdentifier()Returns theAlarmIdentifieridentifying the alarm.- Returns:
- the identifier for this alarm
-
getUpdated
Instant getUpdated()Returns the last update of this alarm.- Returns:
- the
Instantthis alarm was last updated
-
getSeverity
AlarmSeverity getSeverity()Returns the perceived severity of the alarm.- Returns:
- the
AlarmSeverityof this alarm - See Also:
-
isCleared
boolean isCleared()Returns the cleared status of this alarm.- Returns:
trueif this alarm is cleared,falseotherwise
-
isSelfTest
boolean isSelfTest()Returns true if this alarm has been triggered synthetically to test the alarm subsystem and all configuredAlarmHandler.- Returns:
- true if the alarm is a self-test alarm
-
getDescription
AlarmDescription getDescription()Returns the alarm text - a human-readable description of the cause of the alarm.- Returns:
- the description of this alarm
-