Package | Description |
---|---|
org.openhubframework.openhub.core.alerts |
Alerts implementation.
|
org.openhubframework.openhub.spi.alerts |
Modifier and Type | Method and Description |
---|---|
AlertInfo |
AbstractAlertsConfiguration.getAlert(String id) |
Modifier and Type | Method and Description |
---|---|
List<AlertInfo> |
AbstractAlertsConfiguration.getAlerts(boolean enabledOnly) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractAlertsConfiguration.addAlert(AlertInfo alertInfo) |
protected void |
EmailAlertListenerSupport.doOnAlert(AlertInfo alert)
Does action when specified alert is activated.
|
protected String |
EmailAlertListenerSupport.formatBody(AlertInfo alert,
long actualCount)
Formats custom body from specified alert.
|
protected String |
EmailAlertListenerSupport.formatSubject(AlertInfo alert)
Formats custom subject from specified alert.
|
protected long |
AlertsCheckingServiceDbImpl.getCount(AlertInfo alert) |
protected abstract long |
AbstractAlertsCheckingService.getCount(AlertInfo alert)
Gets actual count of specified alert.
|
void |
EmailAlertListenerSupport.onAlert(AlertInfo alert,
long actualCount)
Default implementation is to send email notification.
|
boolean |
EmailAlertListenerSupport.supports(AlertInfo alert) |
Modifier and Type | Method and Description |
---|---|
AlertInfo |
AlertsConfiguration.getAlert(String id)
Gets alert info.
|
Modifier and Type | Method and Description |
---|---|
List<AlertInfo> |
AlertsConfiguration.getAlerts(boolean enabledOnly)
Gets list of all alerts.
|
Modifier and Type | Method and Description |
---|---|
void |
AlertListener.onAlert(AlertInfo alert,
long actualCount)
Notifies that specified alert is activated.
|
boolean |
AlertListener.supports(AlertInfo alert)
Does this listener support the specified alert?
|
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.