CommandListener@Immutable @Deprecated public final class CommandEventMulticaster extends Object implements CommandListener
| Constructor | Description |
|---|---|
CommandEventMulticaster(List<CommandListener> commandListeners) |
Deprecated.
Construct an instance with the given list of command listeners
|
| Modifier and Type | Method | 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 CommandEventMulticaster(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