org.jbehave.core.steps
Class StepsFactory
java.lang.Object
org.jbehave.core.steps.StepsFactory
public class StepsFactory
- extends 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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StepsFactory
public StepsFactory()
StepsFactory
public StepsFactory(StepsConfiguration configuration)
createCandidateSteps
public CandidateSteps[] createCandidateSteps(Object... stepsInstances)
Copyright © 2003-2010. All Rights Reserved.