@Plugin(name="LSST Alert Notification Plugin", id="alert", 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) |
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, propertiesChanged, 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.Copyright © 2023 LSST. All rights reserved.