public class AdminAlertImpl extends BasicMBean implements AdminAlertMBean
OBJECT_NAME| Constructor and Description |
|---|
AdminAlertImpl(PersistentStore persistentStore,
org.osgi.service.event.EventAdmin eventAdmin) |
| Modifier and Type | Method and Description |
|---|---|
void |
dismissAlert(String id)
Dismiss an active alert
|
List<Map<String,Object>> |
getAlerts()
Retrieves all the currently active alerts
|
destroy, initcacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementationpublic AdminAlertImpl(PersistentStore persistentStore, org.osgi.service.event.EventAdmin eventAdmin) throws NotCompliantMBeanException
NotCompliantMBeanExceptionpublic List<Map<String,Object>> getAlerts()
AdminAlertMBeangetAlerts in interface AdminAlertMBeanpublic void dismissAlert(String id)
AdminAlertMBeandismissAlert in interface AdminAlertMBeanid - The id of the alert to dismissThis work is licensed under a Creative Commons Attribution 4.0 International License.