@Plugin(name="LSST Alert Notification Plugin", description="LSST CCS alert notification service.") public class LsstAlertPlugin extends ConsolePlugin
| Modifier and Type | Class and Description |
|---|---|
static class |
LsstAlertPlugin.Descriptor |
| Constructor and Description |
|---|
LsstAlertPlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearAlerts(Map<String,String[]> alarms) |
void |
initialize()
Called by the framework when the console starts, to initialize this plugin..
|
void |
onNewAlertTracer() |
void |
onNewAlertViewer(AlertViewer.Descriptor config) |
void |
propertiesChanged(Object source,
Map<String,Object> changes)
Called by the framework when plugin properties are modified.
|
boolean |
restore(ComponentDescriptor storageBean,
boolean lastRound)
Called by the framework to restore this plugin configuration.
|
ComponentDescriptor |
save()
Called by the framework when this plugin configuration needs to be saved.
|
void |
shutdown()
Called by the framework when the graphical console is shut down.
|
void |
start()
Called by the framework when the console starts, after all plugins have been initialized.
|
void |
stopAlertViewer() |
getConsole, getServices, setServicesProvider, stoppublic void initialize()
ConsolePlugininitialize in class ConsolePluginpublic void start()
ConsolePluginstart in class ConsolePluginpublic void shutdown()
ConsolePluginshutdown in class ConsolePluginpublic void onNewAlertViewer(AlertViewer.Descriptor config)
public void stopAlertViewer()
public void onNewAlertTracer()
public ComponentDescriptor save()
ConsolePluginsave in class ConsolePluginpublic boolean restore(ComponentDescriptor storageBean, boolean lastRound)
ConsolePluginrestore in class ConsolePluginstorageBean - JavaBean that holds configuration information.lastRound - True if this is the last call to this method, regardless of the return value.False if this method should be called again in the next round.public void propertiesChanged(Object source, Map<String,Object> changes)
ConsolePluginpropertiesChanged in class ConsolePluginsource - Source of notification.changes - For the changed properties, map of keys to their new values.Copyright © 2016 LSST. All rights reserved.