Package org.mwolff.command.chain
Interface ChainCommand<T>
-
- All Superinterfaces:
Command<T>
- All Known Subinterfaces:
CommandContainer<T>
,ProcessCommand<T>
- All Known Implementing Classes:
AbstractDefaultChainCommand
,AbstractDefaultProcessCommand
,DefaultCommandContainer
,DefaultEndCommand
,InjectionChainBuilder
,TestCommand
,XMLChainBuilder
public interface ChainCommand<T> extends Command<T>
ChainCommand interface for the command framework. The behavior of this method is the chain of responsibility pattern. Commands may act with generic command contexts. A context actually is a parameter object which passes information along the whole chain.- Author:
- Manfred Wolff
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CommandTransition
executeCommandAsChain(T parameterObject)
-
Methods inherited from interface org.mwolff.command.Command
executeCommand
-
-
-
-
Method Detail
-
executeCommandAsChain
CommandTransition executeCommandAsChain(T parameterObject)
- Parameters:
parameterObject
- The parameter object to pass.- Returns:
- SUCCESS is the next chain should overtake, ABORT otherwise.
-
-