org.jbehave.core.steps
Class ChainedRow

java.lang.Object
  extended by org.jbehave.core.steps.ChainedRow
All Implemented Interfaces:
Row

public class ChainedRow
extends Object
implements Row

Implementation of Row that chains delegate Rows in resolving requests for values.


Constructor Summary
ChainedRow(Row... delegates)
           
 
Method Summary
 Map<String,String> values()
          Returns values aggregated from all the delegates, without overriding values that already exist.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChainedRow

public ChainedRow(Row... delegates)
Method Detail

values

public Map<String,String> values()
Returns values aggregated from all the delegates, without overriding values that already exist.

Specified by:
values in interface Row
Returns:
The Map of aggregated values


Copyright © 2003-2012. All Rights Reserved.