CommandEventMulticaster
@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)
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