public abstract class AbstractAlertsConfiguration extends Object implements AlertsConfiguration
Constructor and Description |
---|
AbstractAlertsConfiguration() |
Modifier and Type | Method and Description |
---|---|
protected void |
addAlert(AlertInfo alertInfo) |
AlertInfo |
getAlert(String id)
Gets alert info.
|
List<AlertInfo> |
getAlerts(boolean enabledOnly)
Gets list of all alerts.
|
protected final void addAlert(AlertInfo alertInfo)
public final AlertInfo getAlert(String id)
AlertsConfiguration
getAlert
in interface AlertsConfiguration
id
- the alert identifierAlertInfo
public final List<AlertInfo> getAlerts(boolean enabledOnly)
AlertsConfiguration
getAlerts
in interface AlertsConfiguration
enabledOnly
- if true
then only enabled alerts are returnedCopyright © 2018 Pivotal Software, Inc.. All rights reserved.