public class BasicAlertPolicyFilter extends AbstractPolicyFilter implements AlertPolicyFilter
orderREVISION| Constructor and Description |
|---|
BasicAlertPolicyFilter() |
| Modifier and Type | Method and Description |
|---|---|
Alert |
beforeSendAlert(Alert alert,
AlertChannel alertChannel)
This method is called before sending an alert in a given alert channel.
|
java.util.Set<AlertChannel> |
getAlertChannelSet(Alert alert,
java.util.Set<AlertChannel> alertChannelSet)
This method is called before sending an alert to filter the alert channel set to use.
|
boolean |
init(Plugin plugin)
Initialize the component with the given plugin configuration
|
boolean |
saveAlert(Alert alert,
boolean saveAlert)
This method is called before saving an alert.
|
compareTo, equals, getOrder, setOrderpublic boolean init(Plugin plugin)
PluginComponentinit in interface PluginComponentplugin - the calling pluginpublic java.util.Set<AlertChannel> getAlertChannelSet(Alert alert, java.util.Set<AlertChannel> alertChannelSet)
AlertPolicyFiltergetAlertChannelSet in interface AlertPolicyFilteralert - the alertalertChannelSet - the proposed alertChannelSet for this alertpublic Alert beforeSendAlert(Alert alert, AlertChannel alertChannel)
AlertPolicyFilterbeforeSendAlert in interface AlertPolicyFilteralert - the alertalertChannel - the alertChannelpublic boolean saveAlert(Alert alert, boolean saveAlert)
AlertPolicyFiltersaveAlert in interface AlertPolicyFilteralert - the alert to be savedsaveAlert - the default valueCopyright © 2001-2017 Jalios SA. All Rights Reserved.