| Package | Description |
|---|---|
| org.d_haven.event.command |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultCommandFailureHandler
DefaultCommandFailureHandler is used to do nothing if a command
fails.
|
class |
NullCommandFailureHandler
DefaultCommandFailureHandler is used to do nothing if a command
fails.
|
| Modifier and Type | Field and Description |
|---|---|
private CommandFailureHandler |
CommandEventHandler.m_failureHandler |
| Modifier and Type | Method and Description |
|---|---|
CommandFailureHandler |
CommandEventHandler.getCommandFailureHandler()
Get the CommandFailureHandler in use for this event handler.
|
CommandFailureHandler |
DefaultCommandManager.getCommandFailureHandler()
Get the failure handler so that DefaultCommandManager can use it
when a problem happens.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CommandEventHandler.setCommandFailureHandler(CommandFailureHandler handler)
Set the CommandFailureHandler to use with this event handler.
|
void |
CommandManager.setCommandFailureHandler(CommandFailureHandler handler)
Set the failure handler that the application can use to override
what happens when a command failure happens.
|
void |
DefaultCommandManager.setCommandFailureHandler(CommandFailureHandler handler)
Set the failure handler that the application can use to override
what happens when a command failure happens.
|
| Constructor and Description |
|---|
CommandEventHandler(CommandFailureHandler failureHandler,
SwitchedEnqueuePredicate predicate)
Create the CommandEventHandler with the failure handler and the
predicate provided.
|