Package org.yamcs.xtce
Class FloatParameterType.Builder
java.lang.Object
org.yamcs.xtce.NameDescription.Builder<T>
org.yamcs.xtce.BaseDataType.Builder<T>
org.yamcs.xtce.FloatDataType.Builder<FloatParameterType.Builder>
org.yamcs.xtce.FloatParameterType.Builder
- All Implemented Interfaces:
DataType.Builder<FloatParameterType.Builder>,NumericParameterType.Builder<FloatParameterType.Builder>,ParameterType.Builder<FloatParameterType.Builder>
- Enclosing class:
- FloatParameterType
public static class FloatParameterType.Builder
extends FloatDataType.Builder<FloatParameterType.Builder>
implements NumericParameterType.Builder<FloatParameterType.Builder>
-
Field Summary
Fields inherited from class org.yamcs.xtce.BaseDataType.Builder
baseType, initialValue -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAlarmRange(MatchCriteria contextMatch, DoubleRange floatRange, AlarmLevels level) Adds a new, or unions with an existing range for the specified context and levelvoidvoidvoidaddCriticalAlarmRange(MatchCriteria contextMatch, DoubleRange criticalRange) Adds a new, or unions with an existing critical range for the specified contextvoidaddDistressAlarmRange(MatchCriteria contextMatch, DoubleRange distressRange) Adds a new, or unions with an existing distress range for the specified contextvoidaddSevereAlarmRange(MatchCriteria contextMatch, DoubleRange severeRange) Adds a new, or unions with an existing severe range for the specified contextvoidaddWarningAlarmRange(MatchCriteria contextMatch, DoubleRange warningRange) Adds a new, or unions with an existing warning range for the specified contextvoidaddWatchAlarmRange(MatchCriteria contextMatch, DoubleRange watchRange) Adds a new, or unions with an existing watch range for the specified contextbuild()createOrGetAlarm(MatchCriteria contextMatch) getNumericContextAlarm(MatchCriteria context) voidsetContextAlarmList(List<NumericContextAlarm> contextAlarmList) Sets the contextual alarm list overriding any other contextual alarm if already set.voidsetDefaultAlarm(NumericAlarm defaultAlarm) voidsetDefaultCriticalAlarmRange(DoubleRange criticalRange) voidsetDefaultDistressAlarmRange(DoubleRange distressRange) voidsetDefaultSevereAlarmRange(DoubleRange severeRange) voidsetDefaultWarningAlarmRange(DoubleRange warningRange) voidsetDefaultWatchAlarmRange(DoubleRange watchRange) Methods inherited from class org.yamcs.xtce.FloatDataType.Builder
setInitialValue, setNumberFormat, setSizeInBits, setValidRangeMethods inherited from class org.yamcs.xtce.BaseDataType.Builder
addAllUnits, addUnit, getEncoding, setBaseType, setEncoding, setInitialValue, setInitialValueMethods inherited from class org.yamcs.xtce.NameDescription.Builder
addAlias, getName, self, setAliasSet, setAncillaryData, setLongDescription, setName, setQualifiedName, setShortDescriptionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.yamcs.xtce.DataType.Builder
getName, setInitialValue, setLongDescription, setName, setQualifiedName, setShortDescriptionMethods inherited from interface org.yamcs.xtce.NumericParameterType.Builder
getEncoding, setEncoding
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
setContextAlarmList
Description copied from interface:NumericParameterType.BuilderSets the contextual alarm list overriding any other contextual alarm if already set.- Specified by:
setContextAlarmListin interfaceNumericParameterType.Builder<FloatParameterType.Builder>
-
addContextAlarm
-
addContextAlarms
-
createOrGetAlarm
- Specified by:
createOrGetAlarmin interfaceNumericParameterType.Builder<FloatParameterType.Builder>
-
getNumericContextAlarm
-
addAlarmRange
Adds a new, or unions with an existing range for the specified context and level- Parameters:
contextMatch- usenullfor the default context
-
addWatchAlarmRange
Adds a new, or unions with an existing watch range for the specified context- Parameters:
contextMatch- usenullfor the default context
-
addWarningAlarmRange
Adds a new, or unions with an existing warning range for the specified context- Parameters:
contextMatch- usenullfor the default context
-
addDistressAlarmRange
Adds a new, or unions with an existing distress range for the specified context- Parameters:
contextMatch- usenullfor the default context
-
addCriticalAlarmRange
Adds a new, or unions with an existing critical range for the specified context- Parameters:
contextMatch- usenullfor the default context
-
addSevereAlarmRange
Adds a new, or unions with an existing severe range for the specified context- Parameters:
contextMatch- usenullfor the default context
-
setDefaultWatchAlarmRange
-
setDefaultWarningAlarmRange
-
setDefaultDistressAlarmRange
-
setDefaultCriticalAlarmRange
-
setDefaultSevereAlarmRange
-
getDefaultAlarm
-
build
- Specified by:
buildin interfaceDataType.Builder<FloatParameterType.Builder>- Specified by:
buildin interfaceNumericParameterType.Builder<FloatParameterType.Builder>- Specified by:
buildin interfaceParameterType.Builder<FloatParameterType.Builder>
-
setDefaultAlarm
- Specified by:
setDefaultAlarmin interfaceNumericParameterType.Builder<FloatParameterType.Builder>
-