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,
String channelName)
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 location,
String channelName)
Creates an alert about an a sensor reading that's outside of the desired range, reported
by the instrument.
|
public static org.lsst.ccs.bus.data.Alert emailDeliveryAlert()
public static org.lsst.ccs.bus.data.Alert instrumentIOAlert(String location, String channelName)
location - The location of the instrument.channelName - The name of the channel the subsystem was attempting to read.format("InstrumentIO-%s-%s", location, channelName).public static org.lsst.ccs.bus.data.Alert instrumentMalfunctionAlert(String location, String channelName)
location - The location of the instrument.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 location, String channelName)
location - The location of the instrument.channelName - The name of the channel involved.format("LimitViolation-%s-%s", location, channelName).Copyright © 2017 LSST. All rights reserved.