Modifier and Type | Field and Description |
---|---|
static CommandResult |
CommandResultBuilder.FAILED |
static CommandResult |
CommandResultBuilder.SUCCESS |
Modifier and Type | Method and Description |
---|---|
CommandResult<V> |
DelegateCommandManager.allow(C context,
Command<C,V> command) |
CommandResult<V> |
Command.allow(T context)
Check whether the command operation is allowed.
|
CommandResult<V> |
AbstractCommand.allow(T context) |
CommandResult<V> |
CommandManager.allow(T context,
Command<T,V> command)
Check whether the given command can be executed.
|
CommandResult<V> |
CommandResultBuilder.build() |
protected CommandResult<V> |
AbstractCommand.buildResult() |
CommandResult<V> |
DelegateCommandManager.execute(C context,
Command<C,V> command) |
CommandResult<V> |
Command.execute(T context)
Executes the command operation.
|
CommandResult<V> |
CommandManager.execute(T context,
Command<T,V> command)
Execute the given command.
|
CommandResult<V> |
DelegateCommandManager.undo(C context,
Command<C,V> command) |
CommandResult<V> |
HasCommandRegistry.undo(T context)
Undo latest command present in the registry.
|
CommandResult<V> |
Command.undo(T context)
Undo the changes done by this command execution.
|
CommandResult<V> |
CommandManager.undo(T context,
Command<T,V> command)
Undo an executed command.
|
Modifier and Type | Method and Description |
---|---|
void |
CommandListener.onAllow(T context,
Command<T,V> command,
CommandResult<V> result) |
void |
CommandListener.onExecute(T context,
Command<T,V> command,
CommandResult<V> result) |
void |
CommandListener.onUndo(T context,
Command<T,V> command,
CommandResult<V> result) |
protected void |
DelegateCommandManager.postAllow(C context,
Command<C,V> command,
CommandResult<V> result) |
protected void |
DelegateCommandManager.postExecute(C context,
Command<C,V> command,
CommandResult<V> result) |
protected void |
DelegateCommandManager.postUndo(C context,
Command<C,V> command,
CommandResult<V> result) |
Modifier and Type | Method and Description |
---|---|
CommandResult<V> |
AbstractCommandEvent.getResult() |
Constructor and Description |
---|
AbstractCommandEvent(Command<C,V> command,
CommandResult<V> result) |
Modifier and Type | Class and Description |
---|---|
class |
CommandResultImpl<V> |
Modifier and Type | Method and Description |
---|---|
CommandResult<V> |
CommandManagerImpl.allow(C context,
Command<C,V> command) |
CommandResult<V> |
CommandManagerImpl.execute(C context,
Command<C,V> command) |
CommandResult<V> |
CommandManagerImpl.undo(C context,
Command<C,V> command) |
Modifier and Type | Method and Description |
---|---|
static boolean |
CommandUtils.isError(CommandResult<?> result) |
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.