@Immutable @Deprecated public class CommandListenerMulticaster extends Object implements CommandListener
| Constructor and Description |
|---|
CommandListenerMulticaster(List<CommandListener> commandListeners)
Deprecated.
Construct an instance with the given list of command listeners
|
| Modifier and Type | Method and Description |
|---|---|
void |
commandFailed(CommandFailedEvent event)
Deprecated.
Listener for command failure events
|
void |
commandStarted(CommandStartedEvent event)
Deprecated.
Listener for command started events.
|
void |
commandSucceeded(CommandSucceededEvent event)
Deprecated.
Listener for command completed events
|
List<CommandListener> |
getCommandListeners()
Deprecated.
Gets the command listeners.
|
public CommandListenerMulticaster(List<CommandListener> commandListeners)
commandListeners - the non-null list of command listeners, none of which may be nullpublic List<CommandListener> getCommandListeners()
public void commandStarted(CommandStartedEvent event)
CommandListenercommandStarted in interface CommandListenerevent - the eventpublic void commandSucceeded(CommandSucceededEvent event)
CommandListenercommandSucceeded in interface CommandListenerevent - the eventpublic void commandFailed(CommandFailedEvent event)
CommandListenercommandFailed in interface CommandListenerevent - the event