public class NotificationEvent extends Object implements CockpitEvent
| Modifier and Type | Class and Description |
|---|---|
static class |
NotificationEvent.Level
Indicates severity level of the message.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
EVENT_NAME |
static String |
EVENT_SOURCE_UNKNOWN |
static String |
EVENT_TYPE_UNKNOWN
Deprecated.
since 6.6
|
APPLICATION, DESKTOP, SESSION, USER| Constructor and Description |
|---|
NotificationEvent(String message,
NotificationEvent.Level level,
String id,
Object... referencedObjects)
Deprecated.
since 6.6
|
NotificationEvent(String source,
String eventType,
NotificationEvent.Level level,
Object... referencedObjects) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Object |
getData() |
String |
getEventType() |
NotificationEvent.Level |
getLevel() |
String |
getName() |
Object[] |
getReferencedObjects() |
String |
getSource() |
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetDataAsCollectionpublic static final String EVENT_SOURCE_UNKNOWN
@Deprecated public static final String EVENT_TYPE_UNKNOWN
public static final String EVENT_NAME
public NotificationEvent(String source, String eventType, NotificationEvent.Level level, Object... referencedObjects)
source - identity of notification sourceeventType - type of event that has taken placelevel - importance level of notificationreferencedObjects - optional array of objects that were involved in the event@Deprecated public NotificationEvent(String message, NotificationEvent.Level level, String id, Object... referencedObjects)
message - notification messagelevel - importance level of notificationid - notification idreferencedObjects - optional array of objects that were involved in the eventNotificationEvent(String, String, Level, Object...)public NotificationEvent.Level getLevel()
public String getName()
getName in interface CockpitEventpublic Object getData()
getData in interface CockpitEventpublic String getSource()
getSource in interface CockpitEventpublic String getEventType()
public Object[] getReferencedObjects()
Copyright © 2018. All rights reserved.