class ImmutableNotificationOptions extends java.lang.Object implements NotificationOptions
NotificationOptions
.Modifier and Type | Class and Description |
---|---|
(package private) static class |
ImmutableNotificationOptions.Builder |
Modifier and Type | Field and Description |
---|---|
private java.util.concurrent.Executor |
executor |
private java.util.Map<java.lang.String,java.lang.Object> |
options |
Modifier | Constructor and Description |
---|---|
private |
ImmutableNotificationOptions(java.util.concurrent.Executor executor,
java.util.Map<java.lang.String,java.lang.Object> options) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
get(java.lang.String name) |
java.util.concurrent.Executor |
getExecutor() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
builder, of, ofExecutor
private final java.util.concurrent.Executor executor
private final java.util.Map<java.lang.String,java.lang.Object> options
private ImmutableNotificationOptions(java.util.concurrent.Executor executor, java.util.Map<java.lang.String,java.lang.Object> options)
public java.util.concurrent.Executor getExecutor()
getExecutor
in interface NotificationOptions
public java.lang.Object get(java.lang.String name)
get
in interface NotificationOptions
name
- name of the option to get value ofnull
if no option for the given name exists