public interface EventManager
Modifier and Type | Field and Description |
---|---|
static EventManager |
EVENT_MANAGER_ADAPTER
An
EventManager that does not do anything. |
Modifier and Type | Method and Description |
---|---|
boolean |
addListener(ExecutionConfigurationListener listener)
Listeners already registered will not be added again.
|
void |
notifyListeners(ExecutionConfigurationEvent event) |
void |
permitListeners(boolean enable)
Enable / disable the listeners in the event manager
|
boolean |
removeListener(ExecutionConfigurationListener listener) |
static final EventManager EVENT_MANAGER_ADAPTER
EventManager
that does not do anything.boolean addListener(ExecutionConfigurationListener listener)
listener
- the listener being register to receive events (never null
)true
if listener was addedvoid permitListeners(boolean enable)
enable
- void notifyListeners(ExecutionConfigurationEvent event)
event
- the event the registry listeners are to processboolean removeListener(ExecutionConfigurationListener listener)
listener
- the listener being unregistered and will no longer receive events (never null
)true
if listener was removedCopyright © 2013–2019. All rights reserved.