public class Alerts extends Object
| Constructor and Description |
|---|
Alerts() |
| Modifier and Type | Method and Description |
|---|---|
static org.lsst.ccs.bus.data.Alert |
emailDeliveryAlert()
Creates an alert about a failure to build or deliver an email message.
|
static org.lsst.ccs.bus.data.Alert |
instrumentIOAlert(String location)
Creates an alert about a failure to read an instrument.
|
static org.lsst.ccs.bus.data.Alert |
instrumentMalfunctionAlert(String location,
String channelName)
Creates an alert about a sensor malfunction reported by the instrument.
|
static org.lsst.ccs.bus.data.Alert |
limitViolationAlert(String shortLocationName,
String channelName)
Creates an alert about an a sensor reading that's outside of the desired range.
|
public static org.lsst.ccs.bus.data.Alert emailDeliveryAlert()
public static org.lsst.ccs.bus.data.Alert instrumentIOAlert(String location)
location - The long location name of the instrument, e.g., "Location 002".format("InstrumentIO-%s", location).public static org.lsst.ccs.bus.data.Alert instrumentMalfunctionAlert(String location, String channelName)
location - The short location name of the instrument, e.g., AUX, MAIN_SE.channelName - The name of the channel that had the failure.format("Malfunction-%s-%s", location, channelName).public static org.lsst.ccs.bus.data.Alert limitViolationAlert(String shortLocationName, String channelName)
shortLocationName - The location of the instrument, e.g., ENTRY, MAIN_SE.channelName - Which quantity has gone out of range, e.g., 0.3, Humidity.format("LimitViolation-%s-%s", shortLocationName, channelName).Copyright © 2021 LSST. All rights reserved.