org.jbehave.core.steps
Class StepsFactory

java.lang.Object
  extended by org.jbehave.core.steps.StepsFactory

public class StepsFactory
extends java.lang.Object

Factory class to create CandidateSteps from POJO instances. The factory allows candidate steps methods to be defined in POJOs and wrapped by Steps rather than having to extend Steps. Both "has-a" relationship and "is-a" design models are thus supported.


Constructor Summary
StepsFactory()
           
StepsFactory(StepsConfiguration configuration)
           
 
Method Summary
 CandidateSteps[] createCandidateSteps(java.lang.Object... stepsInstances)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StepsFactory

public StepsFactory()

StepsFactory

public StepsFactory(StepsConfiguration configuration)
Method Detail

createCandidateSteps

public CandidateSteps[] createCandidateSteps(java.lang.Object... stepsInstances)


Copyright © 2003-2010. All Rights Reserved.