public class CCSConfiguration extends Object implements org.lsst.ccs.framework.HasLifecycle, org.lsst.ccs.UsesSubsystem, ConfigurationService
ConfigurationParameter annotation.| Constructor and Description |
|---|
CCSConfiguration()
Makes an instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getEmailBounceAddress()
Get the value of the "bounce-to" and "reply-to" fields for alarm emails.
|
List<String> |
getEmailRecipients()
Gets the list of recipients of alarm emails.
|
String |
getEmailSender() |
List<InstrumentConfig> |
getInstrumentConfigs()
Gets an InstrumentConfig for each instrument described
by the configuration data.
|
Duration |
getReadoutInterval()
Gets the time between instrument readouts.
|
String |
getSMTPServer()
Gets the host name or IPv4 address of the SMTP server used to send emails.
|
void |
start()
Checks the raw configuration data and makes the configuration objects.
|
void |
updateInstrument(InstrumentStatus stat)
Updates the information in the configuration database for a particular instrument.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic List<InstrumentConfig> getInstrumentConfigs()
getInstrumentConfigs in interface ConfigurationServicepublic void updateInstrument(InstrumentStatus stat)
updateInstrument in interface ConfigurationServicestat - The current status of the instrument.public Duration getReadoutInterval()
getReadoutInterval in interface ConfigurationServicepublic String getEmailSender()
getEmailSender in interface ConfigurationServicepublic String getEmailBounceAddress()
getEmailBounceAddress in interface ConfigurationServicepublic String getSMTPServer()
getSMTPServer in interface ConfigurationServicepublic List<String> getEmailRecipients()
getEmailRecipients in interface ConfigurationServicepublic void start()
start in interface org.lsst.ccs.framework.HasLifecycleCopyright © 2017 LSST. All rights reserved.