T
- The execution contextV
- The resulting violations of the command execution in the given context.public interface CommandManager<T,V>
Modifier and Type | Method and Description |
---|---|
CommandResult<V> |
allow(T context,
Command<T,V> command)
Check whether the given command can be executed.
|
CommandResult<V> |
execute(T context,
Command<T,V> command)
Execute the given command.
|
CommandResult<V> |
undo(T context,
Command<T,V> command)
Undo an executed command.
|
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.