public interface Command<T,V>
Modifier and Type | Method and Description |
---|---|
CommandResult<V> |
allow(T context)
Check whether the command operation is allowed.
|
CommandResult<V> |
execute(T context)
Executes the command operation.
|
CommandResult<V> |
undo(T context)
Undo the changes done by this command execution.
|
CommandResult<V> allow(T context)
CommandResult<V> execute(T context)
CommandResult<V> undo(T context)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.