|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jbehave.core.configuration.AnnotationBuilder
public class AnnotationBuilder
Allows the building of Configuration
, CandidateSteps
and
Embedder
from an annotated class.
Constructor Summary | |
---|---|
AnnotationBuilder(java.lang.Class<?> annotatedClass)
|
|
AnnotationBuilder(java.lang.Class<?> annotatedClass,
AnnotationMonitor annotationMonitor)
|
Method Summary | ||
---|---|---|
java.lang.Class<?> |
annotatedClass()
|
|
protected AnnotationFinder |
annotationFinder()
|
|
protected AnnotationMonitor |
annotationMonitor()
|
|
java.util.List<CandidateSteps> |
buildCandidateSteps()
Builds CandidateSteps using annotation UsingSteps found in the
annotated object instance and using the configuration build by
buildConfiguration() |
|
java.util.List<CandidateSteps> |
buildCandidateSteps(Configuration configuration)
Builds CandidateSteps using annotation UsingSteps found in the
annotated object instance and the configuration provided |
|
Configuration |
buildConfiguration()
Builds a Configuration instance based on annotation Configure
found in the annotated object instance |
|
Embedder |
buildEmbedder()
|
|
java.lang.Object |
embeddableInstance()
|
|
protected java.lang.Object |
injectEmbedder(Embedder embedder,
java.lang.Class<?> annotatedClass)
|
|
protected
|
instanceOf(java.lang.Class<T> type,
java.lang.Class<V> ofClass)
|
|
protected ParameterConverters |
parameterConverters(AnnotationFinder annotationFinder)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnnotationBuilder(java.lang.Class<?> annotatedClass)
public AnnotationBuilder(java.lang.Class<?> annotatedClass, AnnotationMonitor annotationMonitor)
Method Detail |
---|
public java.lang.Class<?> annotatedClass()
public Configuration buildConfiguration() throws MissingAnnotationException
Configure
found in the annotated object instance
MissingAnnotationException
public java.util.List<CandidateSteps> buildCandidateSteps()
UsingSteps
found in the
annotated object instance and using the configuration build by
buildConfiguration()
public java.util.List<CandidateSteps> buildCandidateSteps(Configuration configuration)
UsingSteps
found in the
annotated object instance and the configuration provided
configuration
- the Configuration
public Embedder buildEmbedder()
protected ParameterConverters parameterConverters(AnnotationFinder annotationFinder)
protected <T,V extends T> T instanceOf(java.lang.Class<T> type, java.lang.Class<V> ofClass)
protected AnnotationMonitor annotationMonitor()
protected AnnotationFinder annotationFinder()
public java.lang.Object embeddableInstance()
protected java.lang.Object injectEmbedder(Embedder embedder, java.lang.Class<?> annotatedClass)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |