Package org.jbehave.core.configuration
Class AnnotationBuilder
java.lang.Object
org.jbehave.core.configuration.AnnotationBuilder
- Author:
- Cristiano Gavião, Mauro Talevi
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionAnnotationBuilder(Class<?> annotatedClass) AnnotationBuilder(Class<?> annotatedClass, AnnotationMonitor annotationMonitor) -
Method Summary
Modifier and TypeMethodDescriptionClass<?>protected AnnotationFinderprotected AnnotationMonitorBuilds CandidateSteps using annotationUsingStepsfound in the annotated object instance and using the configuration build bybuildConfiguration()buildCandidateSteps(Configuration configuration) Builds CandidateSteps using annotationUsingStepsfound in the annotated object instance and the configuration providedBuilds a Configuration instance based on annotationConfigurefound in the annotated object instancebuildStepsFactory(Configuration configuration) Builds theInjectableStepsFactoryusing annotationUsingStepsfound in the annotated object instance and the configuration providedprotected Embedderprotected <T> Class<T>elementImplementation(AnnotationFinder finder, String name) protected Embedderembedder()finder()protected ObjectinjectEmbedder(Embedder embedder, Class<?> annotatedClass) protected <T,V extends T>
TinstanceOf(Class<T> type, Class<V> ofClass) protected ParameterConvertersparameterConverters(AnnotationFinder annotationFinder, ResourceLoader resourceLoader, TableTransformers tableTransformers)
-
Constructor Details
-
AnnotationBuilder
-
AnnotationBuilder
-
-
Method Details
-
annotatedClass
-
buildConfiguration
Builds a Configuration instance based on annotationConfigurefound in the annotated object instance- Returns:
- A Configuration instance
- Throws:
AnnotationRequired
-
buildCandidateSteps
Builds CandidateSteps using annotationUsingStepsfound in the annotated object instance and using the configuration build bybuildConfiguration()- Returns:
- A List of CandidateSteps instances
-
buildCandidateSteps
Builds CandidateSteps using annotationUsingStepsfound in the annotated object instance and the configuration provided- Parameters:
configuration- the Configuration- Returns:
- A List of CandidateSteps instances
-
buildStepsFactory
Builds theInjectableStepsFactoryusing annotationUsingStepsfound 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
-