public class NotificationActionTypeEvent
extends java.util.EventObject
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACTION_ADDED
Indicates that a new action is added to an event type.
|
static java.lang.String |
ACTION_CHANGED
Indicates that an action for a given event type has changed.
|
static java.lang.String |
ACTION_REMOVED
Indicates that an action was removed for a given event type.
|
Constructor and Description |
---|
NotificationActionTypeEvent(NotificationService source,
java.lang.String eventType,
java.lang.String sourceEventType,
NotificationAction actionHandler)
Creates an instance of this event according to the specified type.
|
Modifier and Type | Method and Description |
---|---|
NotificationAction |
getActionHandler()
Returns the NotificationActionHandler that handles the action,
for which this event is about.
|
java.lang.String |
getEventType()
The type of this event.
|
java.lang.String |
getSourceEventType()
Returns the event type, to which the given action belongs.
|
public static final java.lang.String ACTION_ADDED
public static final java.lang.String ACTION_REMOVED
public static final java.lang.String ACTION_CHANGED
public NotificationActionTypeEvent(NotificationService source, java.lang.String eventType, java.lang.String sourceEventType, NotificationAction actionHandler)
source
- the NotificationService that dispatched this eventeventType
- the type of this event. One of the static fields
declared in this classsourceEventType
- the event type for which this event occuredactionHandler
- the NotificationActionHandler that handles
the given actionpublic java.lang.String getSourceEventType()
public NotificationAction getActionHandler()
public java.lang.String getEventType()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.