|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
U
- type of the value returned by the last Command
of the list.V
- type of the message the first Command
of the list can handle.public interface Scheme<U,V>
A Scheme
describes how a list of Command
s has to be executed.
Method Summary | |
---|---|
U |
execute(V message)
Executes the given list of Command s with the given Event . |
List<Command<U,V>> |
getCommandsList()
Gets the list of Command s managed by the scheme. |
Method Detail |
---|
U execute(V message) throws CommandException
Command
s with the given Event
.
message
- the message to handle
any
- exception raised during command execution
CommandException
List<Command<U,V>> getCommandsList()
Command
s managed by the scheme.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |