com.agical.rmock.core.strategy.impl
Class CompositeStep

java.lang.Object
  extended by com.agical.rmock.core.strategy.impl.CompositeStep
All Implemented Interfaces:
TestStep

public class CompositeStep
extends Object
implements TestStep

This step runs several substeps in sequence.


(c) 2005 Agical AB

Author:
joakim.ohlrogge

Constructor Summary
CompositeStep()
           
 
Method Summary
 void addStep(TestStep step)
          Adds a substep to run
 void run()
          Runs all configured steps
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeStep

public CompositeStep()
Method Detail

run

public void run()
         throws Throwable
Runs all configured steps

Specified by:
run in interface TestStep
Throws:
Throwable

addStep

public void addStep(TestStep step)
Adds a substep to run

Parameters:
step - The step to run


Copyright © 2005-2011 Agical AB. All Rights Reserved.