net.sf.xaj.support
Class XAttackDelegatingParametersResolver
java.lang.Object
net.sf.xaj.support.XAttackDelegatingParametersResolver
- All Implemented Interfaces:
- XAttack.IterationParametersResolver
public class XAttackDelegatingParametersResolver
- extends java.lang.Object
- implements XAttack.IterationParametersResolver
Implementation of XAttack.IterationParametersResolver
for generating
XSLT input parameters for XAttack that delegates to a list of other
XAttack.IterationParametersResolver
implementations.
This allows a series of XAttack.IterationParametersResolver
implementations
to be chained together, so each individual implementation can focus on
specific tasks.
- Version:
- $Revision$ $Date$
- Author:
- matt
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XAttackDelegatingParametersResolver
public XAttackDelegatingParametersResolver()
resolveParameters
public java.util.Map<java.lang.String,?> resolveParameters(int iteration)
- Description copied from interface:
XAttack.IterationParametersResolver
- Resolve the parameters for a given iteration.
- Specified by:
resolveParameters
in interface XAttack.IterationParametersResolver
- Parameters:
iteration
- the iteration count
- Returns:
- Map of parameter values
getChain
public java.util.List<XAttack.IterationParametersResolver> getChain()
- Returns:
- the chain
setChain
public void setChain(java.util.List<XAttack.IterationParametersResolver> chain)
- Parameters:
chain
- the chain to set