Package org.yamcs.alarms
Class ParameterAlarmStreamer
- java.lang.Object
-
- org.yamcs.alarms.AlarmStreamer<ParameterValue>
-
- org.yamcs.alarms.ParameterAlarmStreamer
-
- All Implemented Interfaces:
AlarmListener<ParameterValue>
public class ParameterAlarmStreamer extends AlarmStreamer<ParameterValue>
-
-
Field Summary
Fields Modifier and Type Field Description static String
CNAME_CLEAR
static String
CNAME_SEVERITY_INCREASED
static String
CNAME_TRIGGER
-
Fields inherited from class org.yamcs.alarms.AlarmStreamer
CNAME_ACK_BY, CNAME_ACK_MSG, CNAME_ACK_TIME, CNAME_CLEAR_MSG, CNAME_CLEARED_BY, CNAME_CLEARED_TIME, CNAME_SHELVE_DURATION, CNAME_SHELVED_BY, CNAME_SHELVED_MSG, CNAME_SHELVED_TIME, CNAME_TRIGGER_TIME, stream
-
-
Constructor Summary
Constructors Constructor Description ParameterAlarmStreamer(Stream s)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getColNameClear()
protected String
getColNameSeverityIncreased()
protected String
getColNameTrigger()
protected ArrayList<Object>
getTupleKey(ActiveAlarm<ParameterValue> activeAlarm, AlarmNotificationType e)
protected Object
getYarchValue(ParameterValue pv)
-
Methods inherited from class org.yamcs.alarms.AlarmStreamer
notifySeverityIncrease, notifyUpdate, notifyValueUpdate
-
-
-
-
Field Detail
-
CNAME_TRIGGER
public static final String CNAME_TRIGGER
- See Also:
- Constant Field Values
-
CNAME_CLEAR
public static final String CNAME_CLEAR
- See Also:
- Constant Field Values
-
CNAME_SEVERITY_INCREASED
public static final String CNAME_SEVERITY_INCREASED
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ParameterAlarmStreamer
public ParameterAlarmStreamer(Stream s)
-
-
Method Detail
-
getTupleKey
protected ArrayList<Object> getTupleKey(ActiveAlarm<ParameterValue> activeAlarm, AlarmNotificationType e)
- Specified by:
getTupleKey
in classAlarmStreamer<ParameterValue>
-
getYarchValue
protected Object getYarchValue(ParameterValue pv)
- Specified by:
getYarchValue
in classAlarmStreamer<ParameterValue>
-
getColNameClear
protected String getColNameClear()
- Specified by:
getColNameClear
in classAlarmStreamer<ParameterValue>
-
getColNameTrigger
protected String getColNameTrigger()
- Specified by:
getColNameTrigger
in classAlarmStreamer<ParameterValue>
-
getColNameSeverityIncreased
protected String getColNameSeverityIncreased()
- Specified by:
getColNameSeverityIncreased
in classAlarmStreamer<ParameterValue>
-
-