Package org.yamcs.xtce
Class NumericContextAlarm
- java.lang.Object
-
- org.yamcs.xtce.AlarmType
-
- org.yamcs.xtce.NumericAlarm
-
- org.yamcs.xtce.NumericContextAlarm
-
- All Implemented Interfaces:
Serializable
public class NumericContextAlarm extends NumericAlarm
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
-
-
Field Summary
-
Fields inherited from class org.yamcs.xtce.AlarmType
DEFAULT_REPORT_TYPE
-
-
Constructor Summary
Constructors Constructor Description NumericContextAlarm()
-
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.NumericAlarm
getStaticAlarmRanges, setStaticAlarmRanges
-
Methods inherited from class org.yamcs.xtce.AlarmType
getAlarmReportType, getMinViolations, isAutoAck, isLatching, setAlarmReportType, setMinViolations
-
-
-
-
Method Detail
-
getContextMatch
public MatchCriteria getContextMatch()
-
getContextString
public String getContextString()
-
setContextMatch
public void setContextMatch(MatchCriteria contextMatch)
-
toString
public String toString()
- Overrides:
toStringin classNumericAlarm
-
-