final class CommandListenerMulticaster extends java.lang.Object implements CommandListener
Modifier and Type | Field and Description |
---|---|
private java.util.List<CommandListener> |
commandListeners |
private static Logger |
LOGGER |
Constructor and Description |
---|
CommandListenerMulticaster(java.util.List<CommandListener> commandListeners) |
Modifier and Type | Method and Description |
---|---|
void |
commandFailed(CommandFailedEvent event)
Listener for command failure events
|
void |
commandStarted(CommandStartedEvent event)
Listener for command started events.
|
void |
commandSucceeded(CommandSucceededEvent event)
Listener for command completed events
|
private static final Logger LOGGER
private final java.util.List<CommandListener> commandListeners
CommandListenerMulticaster(java.util.List<CommandListener> commandListeners)
public void commandStarted(CommandStartedEvent event)
CommandListener
commandStarted
in interface CommandListener
event
- the eventpublic void commandSucceeded(CommandSucceededEvent event)
CommandListener
commandSucceeded
in interface CommandListener
event
- the eventpublic void commandFailed(CommandFailedEvent event)
CommandListener
commandFailed
in interface CommandListener
event
- the event