Package org.yamcs.xtce
Class EnumerationContextAlarm
- java.lang.Object
-
- org.yamcs.xtce.AlarmType
-
- org.yamcs.xtce.EnumerationAlarm
-
- org.yamcs.xtce.EnumerationContextAlarm
-
- All Implemented Interfaces:
Serializable
public class EnumerationContextAlarm extends EnumerationAlarm
Context alarms are applied when the ContextMatch is true. Context alarms override Default alarms meaning that if the condition matches, this alarm applies and if the condition does not match, then the defaultAlarm applies.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.yamcs.xtce.EnumerationAlarm
EnumerationAlarm.EnumerationAlarmItem
-
-
Field Summary
-
Fields inherited from class org.yamcs.xtce.AlarmType
DEFAULT_REPORT_TYPE
-
-
Constructor Summary
Constructors Constructor Description EnumerationContextAlarm()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MatchCriteriagetContextMatch()StringgetContextString()voidsetContextMatch(MatchCriteria contextMatch)StringtoString()-
Methods inherited from class org.yamcs.xtce.EnumerationAlarm
addAlarm, getAlarmList, getDefaultAlarmLevel, setAlarmList, setDefaultAlarmLevel
-
Methods inherited from class org.yamcs.xtce.AlarmType
getAlarmReportType, getMinViolations, isAutoAck, isLatching, setAlarmReportType, setMinViolations
-
-
-
-
Method Detail
-
getContextMatch
public MatchCriteria getContextMatch()
-
getContextString
public String getContextString()
-
toString
public String toString()
- Overrides:
toStringin classEnumerationAlarm
-
setContextMatch
public void setContextMatch(MatchCriteria contextMatch)
-
-