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