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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAlarmRange
(MatchCriteria contextMatch, DoubleRange floatRange, AlarmLevels level) Adds a new, or unions with an existing range for the specified context and levelvoid
void
void
addCriticalAlarmRange
(MatchCriteria contextMatch, DoubleRange criticalRange) Adds a new, or unions with an existing critical range for the specified contextvoid
addDistressAlarmRange
(MatchCriteria contextMatch, DoubleRange distressRange) Adds a new, or unions with an existing distress range for the specified contextvoid
addSevereAlarmRange
(MatchCriteria contextMatch, DoubleRange severeRange) Adds a new, or unions with an existing severe range for the specified contextvoid
addWarningAlarmRange
(MatchCriteria contextMatch, DoubleRange warningRange) Adds a new, or unions with an existing warning range for the specified contextvoid
addWatchAlarmRange
(MatchCriteria contextMatch, DoubleRange watchRange) Adds a new, or unions with an existing watch range for the specified contextbuild()
createOrGetAlarm
(MatchCriteria contextMatch) getNumericContextAlarm
(MatchCriteria context) void
setContextAlarmList
(List<NumericContextAlarm> contextAlarmList) Sets the contextual alarm list overriding any other contextual alarm if already set.void
setDefaultAlarm
(NumericAlarm defaultAlarm) void
setDefaultCriticalAlarmRange
(DoubleRange criticalRange) void
setDefaultDistressAlarmRange
(DoubleRange distressRange) void
setDefaultSevereAlarmRange
(DoubleRange severeRange) void
setDefaultWarningAlarmRange
(DoubleRange warningRange) void
setDefaultWatchAlarmRange
(DoubleRange watchRange) Methods inherited from class org.yamcs.xtce.FloatDataType.Builder
setInitialValue, setNumberFormat, setSizeInBits, setValidRange
Methods inherited from class org.yamcs.xtce.BaseDataType.Builder
addAllUnits, addUnit, getEncoding, setBaseType, setEncoding, setInitialValue, setInitialValue
Methods inherited from class org.yamcs.xtce.NameDescription.Builder
addAlias, getName, self, setAliasSet, setAncillaryData, setLongDescription, setName, setQualifiedName, setShortDescription
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.yamcs.xtce.DataType.Builder
getName, setInitialValue, setLongDescription, setName, setQualifiedName, setShortDescription
Methods inherited from interface org.yamcs.xtce.NumericParameterType.Builder
getEncoding, setEncoding
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
setContextAlarmList
Description copied from interface:NumericParameterType.Builder
Sets the contextual alarm list overriding any other contextual alarm if already set.- Specified by:
setContextAlarmList
in interfaceNumericParameterType.Builder<FloatParameterType.Builder>
-
addContextAlarm
-
addContextAlarms
-
createOrGetAlarm
- Specified by:
createOrGetAlarm
in interfaceNumericParameterType.Builder<FloatParameterType.Builder>
-
getNumericContextAlarm
-
addAlarmRange
Adds a new, or unions with an existing range for the specified context and level- Parameters:
contextMatch
- usenull
for the default context
-
addWatchAlarmRange
Adds a new, or unions with an existing watch range for the specified context- Parameters:
contextMatch
- usenull
for the default context
-
addWarningAlarmRange
Adds a new, or unions with an existing warning range for the specified context- Parameters:
contextMatch
- usenull
for the default context
-
addDistressAlarmRange
Adds a new, or unions with an existing distress range for the specified context- Parameters:
contextMatch
- usenull
for the default context
-
addCriticalAlarmRange
Adds a new, or unions with an existing critical range for the specified context- Parameters:
contextMatch
- usenull
for the default context
-
addSevereAlarmRange
Adds a new, or unions with an existing severe range for the specified context- Parameters:
contextMatch
- usenull
for the default context
-
setDefaultWatchAlarmRange
-
setDefaultWarningAlarmRange
-
setDefaultDistressAlarmRange
-
setDefaultCriticalAlarmRange
-
setDefaultSevereAlarmRange
-
getDefaultAlarm
-
build
- Specified by:
build
in interfaceDataType.Builder<FloatParameterType.Builder>
- Specified by:
build
in interfaceNumericParameterType.Builder<FloatParameterType.Builder>
- Specified by:
build
in interfaceParameterType.Builder<FloatParameterType.Builder>
-
setDefaultAlarm
- Specified by:
setDefaultAlarm
in interfaceNumericParameterType.Builder<FloatParameterType.Builder>
-