public class ClearNotificationsEvent extends Object implements CockpitEvent
NotificationController| Modifier and Type | Field and Description |
|---|---|
static String |
EVENT_NAME |
APPLICATION, DESKTOP, SESSION, USER| Constructor and Description |
|---|
ClearNotificationsEvent(String source) |
ClearNotificationsEvent(String source,
NotificationEvent.Level level) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getData() |
NotificationEvent.Level |
getLevel() |
String |
getName() |
String |
getSource() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDataAsCollectionpublic static final String EVENT_NAME
public ClearNotificationsEvent(String source, NotificationEvent.Level level)
source - identity of notifications sourcelevel - importance level of notifications to be removedpublic ClearNotificationsEvent(String source)
source - identity of notification sourcepublic String getName()
getName in interface CockpitEventpublic Object getData()
getData in interface CockpitEventpublic String getSource()
getSource in interface CockpitEventpublic NotificationEvent.Level getLevel()
Copyright © 2018. All rights reserved.