public static class MonitorField.Average extends MonitorField
MonitorField.AverageALERT_HIGH, ALERT_LOW, AVERAGE_VALUE, COLOR_BG, COLOR_CHANGED, COLOR_DISABLED, COLOR_ERR, COLOR_FG, COLOR_GOOD, COLOR_MULTI, COLOR_NA, COLOR_OFF, COLOR_POPUP, COLOR_STATE, COLOR_WARN, DEFAULT_DT_FORMAT, DEFAULT_FLOAT_FORMAT, DEFAULT_GROUP_FIELD, DEFAULT_INT_FORMAT, DESCR, GROUP_FIELDS, HA_MULTI, HIGH_ALARM, HIGH_WARN, HOST, key, keys, LENGTH_LIMIT, LOW_ALARM, LOW_WARN, MAX_VALUE, MEDIAN_VALUE, MIN_VALUE, NAME, NULL, template, TEXT_MULTI, title, UNITS, VALUE| Constructor and Description |
|---|
Average(String key,
String title,
FormattedValue template,
Set<String> keys) |
| Modifier and Type | Method and Description |
|---|---|
FormattedValue |
format(List<AgentChannel> channels)
Computes the current formatted value of this field for the specified list of channels.
|
colorConfigurationParameter, defaultFormat, fieldToString, format, getAffectedFields, getAffectedFields, getDefaultFields, getInstance, getKey, getKeys, getRegisteredInstance, getTitle, getValue, isUpdatable, merge, mergeConfigColor, mergeStateColor, registerInstance, stringToField, toStringpublic Average(String key, String title, FormattedValue template, Set<String> keys)
public FormattedValue format(List<AgentChannel> channels)
MonitorFieldformat in class MonitorFieldchannels - List of channels.FormattedValue.NA if this field does not support formatting multiple channels).Copyright © 2023 LSST. All rights reserved.