org.omnaest.utils.operation.composite
Class OperationComposite<RESULT,PARAMETER>
java.lang.Object
org.omnaest.utils.operation.composite.OperationComposite<RESULT,PARAMETER>
- Type Parameters:
RESULT - PARAMETER -
- All Implemented Interfaces:
- Operation<List<RESULT>,PARAMETER>
public class OperationComposite<RESULT,PARAMETER>
- extends Object
- implements Operation<List<RESULT>,PARAMETER>
Composite which takes a List of Operation instances. All Operation.execute(Object) will be invoked in
the given order of the List
- Author:
- Omnaest
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
operationList
protected final List<Operation<RESULT,PARAMETER>> operationList
OperationComposite
public OperationComposite(List<Operation<RESULT,PARAMETER>> operationList)
- Parameters:
operationList - - See Also:
OperationComposite
execute
public List<RESULT> execute(PARAMETER parameter)
- Specified by:
execute in interface Operation<List<RESULT>,PARAMETER>
Copyright © 2013. All Rights Reserved.