Package org.mwolff.command.chain
Class AbstractDefaultChainCommand<T>
- java.lang.Object
-
- org.mwolff.command.AbstractDefaultCommand<T>
-
- org.mwolff.command.chain.AbstractDefaultChainCommand<T>
-
- All Implemented Interfaces:
ChainCommand<T>
,Command<T>
- Direct Known Subclasses:
AbstractDefaultProcessCommand
,TestCommand
public abstract class AbstractDefaultChainCommand<T> extends AbstractDefaultCommand<T> implements ChainCommand<T>
Default implementation for a chain-command. You may useexecuteAsChain
for all executions of thecommand
orcommandContainer
.
-
-
Constructor Summary
Constructors Constructor Description AbstractDefaultChainCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandTransition
executeCommandAsChain(T parameterObject)
-
Methods inherited from class org.mwolff.command.AbstractDefaultCommand
executeCommand
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.mwolff.command.Command
executeCommand
-
-
-
-
Method Detail
-
executeCommandAsChain
public CommandTransition executeCommandAsChain(T parameterObject)
- Specified by:
executeCommandAsChain
in interfaceChainCommand<T>
- Parameters:
parameterObject
- The parameter object to pass.- Returns:
- SUCCESS is the next chain should overtake, ABORT otherwise.
- See Also:
ChainCommand.executeCommandAsChain(java.lang.Object)
-
-