public interface NotificationOptions
Event.fireAsync(Object, NotificationOptions)
Modifier and Type | Interface and Description |
---|---|
static interface |
NotificationOptions.Builder
Notification options builder.
|
Modifier and Type | Method and Description |
---|---|
static NotificationOptions.Builder |
builder() |
Object |
get(String optionName) |
Executor |
getExecutor() |
static NotificationOptions |
of(String optionName,
Object optionValue) |
static NotificationOptions |
ofExecutor(Executor executor) |
Executor getExecutor()
Object get(String optionName)
optionName
- name of the option to get value ofnull
if no option for the given name existsstatic NotificationOptions ofExecutor(Executor executor)
executor
- a specific Executor
to handle observer notificationstatic NotificationOptions of(String optionName, Object optionValue)
optionName
- name of the option to setoptionValue
- value for the optionstatic NotificationOptions.Builder builder()
Copyright © 2019 Eclipse Foundation.
Use is subject to license terms.