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, init
cacheMBeanInfo, 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, setImplementation
public AdminAlertImpl(PersistentStore persistentStore, org.osgi.service.event.EventAdmin eventAdmin) throws NotCompliantMBeanException
NotCompliantMBeanException
public List<Map<String,Object>> getAlerts()
AdminAlertMBean
getAlerts
in interface AdminAlertMBean
public void dismissAlert(String id)
AdminAlertMBean
dismissAlert
in interface AdminAlertMBean
id
- The id of the alert to dismissThis work is licensed under a Creative Commons Attribution 4.0 International License.