|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jbehave.core.steps.StepsFactory
public class StepsFactory
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 |
---|
public StepsFactory()
public StepsFactory(StepsConfiguration configuration)
Method Detail |
---|
public CandidateSteps[] createCandidateSteps(java.lang.Object... stepsInstances)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |