T - The command's context type.V - The command violation type.public interface HasCommandRegistry<T,V>
| Modifier and Type | Method and Description |
|---|---|
CommandRegistry<Command<T,V>> |
getRegistry()
Returns the command registry instance.
|
CommandResult<V> |
undo(T context)
Undo latest command present in the registry.
|
CommandRegistry<Command<T,V>> getRegistry()
CommandResult<V> undo(T context)
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.