public class CCSConfiguration extends org.lsst.ccs.framework.ConfigurableComponent implements ConfigurationService
ConfigurationParameter annotation. The instance will be a component
of the subsystem and hence is a subclass of ConfigurableComponent.| 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.
|
List<LocationConfig> |
getLocationConfigs()
Gets a LocationConfig for each location 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 configuration data and makes the configuration objects.
|
void |
updateInstrument(InstrumentStatus stat)
Updates the information in the configuration database for a particular instrument.
|
getChildren, getEnvironment, setEnvironmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchange, dropSubmittedChanges, getCheckedValueFromConfiguration, getComponentByName, getName, getParent, getParentObject, getSubmittedChanges, getSubsystem, init, isParameterConfigurable, notifyChange, notifyChangeWithoutPreliminaryChecks, postStart, printConfigurableParameters, setBulkParameter, shutdownNow, submitChange, submitChanges, validateBulkChangepublic List<InstrumentConfig> getInstrumentConfigs()
getInstrumentConfigs in interface ConfigurationServicepublic void updateInstrument(InstrumentStatus stat)
updateInstrument in interface ConfigurationServicestat - The current status of the instrument.public List<LocationConfig> getLocationConfigs()
getLocationConfigs in interface ConfigurationServicepublic 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.ConfigurableCopyright © 2016 LSST. All rights reserved.