|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jbehave.core.steps.AbstractStepsFactory
public abstract class AbstractStepsFactory
An abstract implementation of InjectableStepsFactory that is provided
by concrete subclasses Object instances which contain the candidate steps
methods. The Object instances are wrapped by Steps.
The object instances are also inspected for methods annotated by AsParameterConverter
and the ParameterConverters.ParameterConverter is configured accordingly.
| Constructor Summary | |
|---|---|
AbstractStepsFactory(Configuration configuration)
|
|
| Method Summary | |
|---|---|
java.util.List<CandidateSteps> |
createCandidateSteps()
|
protected boolean |
hasAnnotatedMethods(java.lang.reflect.Type type)
Determines if the given type is a Class containing at least one method
annotated with annotations from package "org.jbehave.core.annotations". |
protected abstract java.util.List<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 AbstractStepsFactory(Configuration configuration)
| Method Detail |
|---|
public java.util.List<CandidateSteps> createCandidateSteps()
createCandidateSteps in interface InjectableStepsFactoryprotected abstract java.util.List<java.lang.Object> stepsInstances()
protected boolean hasAnnotatedMethods(java.lang.reflect.Type type)
Class containing at least one method
annotated with annotations from package "org.jbehave.core.annotations".
type - the Type of the steps instance
true if at least one annotated method is found.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||