public class AlertDispatcher extends Object implements org.lsst.ccs.framework.HasLifecycle
| Modifier and Type | Class and Description |
|---|---|
static class |
AlertDispatcher.AlertAction |
static class |
AlertDispatcher.AlertHandler |
static class |
AlertDispatcher.EmailAlertAction |
static class |
AlertDispatcher.EmailAlertDeliveryStrategy
This Strategy is applied to each agent separately.
|
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,AlertDispatcher.AlertHandler> |
handlers |
boolean |
isEnabled |
| Constructor and Description |
|---|
AlertDispatcher() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getAlertHandlers() |
static String |
getClusterSiteInfo() |
Enum |
getGroup() |
String |
getGroupName() |
static Logger |
getLogger() |
MMMUtilities |
getMmmUtilities() |
void |
onAlert(AlertNotification notif) |
void |
postInit() |
AlertDispatcher.AlertHandler |
setOriginAndAlertIdSelector(String handlerName,
String origin,
String alertId) |
AlertDispatcher.AlertHandler |
setOriginSelector(String handlerName,
String origin) |
String |
status() |
@LookupField(strategy=CHILDREN) protected Map<String,AlertDispatcher.AlertHandler> handlers
@ConfigurationParameter public volatile boolean isEnabled
public MMMUtilities getMmmUtilities()
public void postInit()
postInit in interface org.lsst.ccs.framework.HasLifecyclepublic static String getClusterSiteInfo()
public Enum getGroup()
public String getGroupName()
public void onAlert(AlertNotification notif)
public static Logger getLogger()
@Command public AlertDispatcher.AlertHandler setOriginSelector(String handlerName, String origin)
@Command public AlertDispatcher.AlertHandler setOriginAndAlertIdSelector(String handlerName, String origin, String alertId)
Copyright © 2023 LSST. All rights reserved.