public interface Notification
The nature of the event that occurred is identified by the concrete type of the Notification
and its
action
.
The concrete type of the Notification
is an indication of the kind of component that caused the event, and in may
contain additional data describing the event.
Modifier and Type | Interface and Description |
---|---|
static interface |
Notification.Action
Indicates the kind of action that causes a
Notification to be fired. |
Modifier and Type | Method and Description |
---|---|
Notification.Action |
getAction()
Informs the kind of event that caused this notification to be fired.
|
default boolean |
isSynchronous()
Indicates the synchronicity of the processing of this notification.
|
default boolean isSynchronous()
NotificationDispatcher.dispatch(Notification)
or will be dispatched to a Scheduler
for asynchronous
processing.Notification.Action getAction()
Copyright © 2018. All rights reserved.