Package org.jbehave.core.configuration
Class AnnotationBuilder
java.lang.Object
org.jbehave.core.configuration.AnnotationBuilder
- Author:
- Cristiano GaviĆ£o, Mauro Talevi
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionAnnotationBuilder
(Class<?> annotatedClass) AnnotationBuilder
(Class<?> annotatedClass, AnnotationMonitor annotationMonitor) -
Method Summary
Modifier and TypeMethodDescriptionClass<?>
protected AnnotationFinder
protected AnnotationMonitor
Builds CandidateSteps using annotationUsingSteps
found in the annotated object instance and using the configuration build bybuildConfiguration()
buildCandidateSteps
(Configuration configuration) Builds CandidateSteps using annotationUsingSteps
found in the annotated object instance and the configuration providedBuilds a Configuration instance based on annotationConfigure
found in the annotated object instancebuildStepsFactory
(Configuration configuration) Builds theInjectableStepsFactory
using annotationUsingSteps
found in the annotated object instance and the configuration providedprotected Embedder
protected <T> Class<T>
elementImplementation
(AnnotationFinder finder, String name) protected Embedder
embedder()
finder()
protected Object
injectEmbedder
(Embedder embedder, Class<?> annotatedClass) protected <T,
V extends T>
TinstanceOf
(Class<T> type, Class<V> ofClass) protected ParameterConverters
parameterConverters
(AnnotationFinder annotationFinder, ResourceLoader resourceLoader, TableTransformers tableTransformers)
-
Constructor Details
-
AnnotationBuilder
-
AnnotationBuilder
-
-
Method Details
-
annotatedClass
-
buildConfiguration
Builds a Configuration instance based on annotationConfigure
found in the annotated object instance- Returns:
- A Configuration instance
- Throws:
AnnotationRequired
-
buildCandidateSteps
Builds CandidateSteps using annotationUsingSteps
found in the annotated object instance and using the configuration build bybuildConfiguration()
- Returns:
- A List of CandidateSteps instances
-
buildCandidateSteps
Builds CandidateSteps using annotationUsingSteps
found in the annotated object instance and the configuration provided- Parameters:
configuration
- the Configuration- Returns:
- A List of CandidateSteps instances
-
buildStepsFactory
Builds theInjectableStepsFactory
using annotationUsingSteps
found in the annotated object instance and the configuration provided- Parameters:
configuration
- the Configuration- Returns:
- A
InjectableStepsFactory
-
buildEmbedder
-
embedder
-
defaultEmbedder
-
finder
-
findPaths
-
elementImplementation
-
parameterConverters
protected ParameterConverters parameterConverters(AnnotationFinder annotationFinder, ResourceLoader resourceLoader, TableTransformers tableTransformers) -
instanceOf
-
annotationMonitor
-
annotationFinder
-
embeddableInstance
-
injectEmbedder
-