| Constructor and Description |
|---|
NotifyConsumer(Object notifyKey,
Bus<?> observable)
Creates a new
NotifyConsumer that will notify the given observable using
the given notifyKey. |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(T t)
Execute the logic of the action, accepting the given parameter.
|
public NotifyConsumer(Object notifyKey, Bus<?> observable)
NotifyConsumer that will notify the given observable using
the given notifyKey. If notifyKey is null, observable
will be notified without a key.notifyKey - The notification key, may be nullobservable - The observable to notify. May not be nullCopyright © 2016. All rights reserved.