Class ConstructorBasedExtensionProvider
- java.lang.Object
-
- de.rwth.swc.coffee4j.junit.engine.annotation.extension.ConstructorBasedExtensionProvider
-
- All Implemented Interfaces:
AnnotationConsumer<EnableExtension>
,ExtensionProvider
,MethodBasedProvider<List<Extension>>
,Consumer<EnableExtension>
public class ConstructorBasedExtensionProvider extends Object implements AnnotationConsumer<EnableExtension>, ExtensionProvider
-
-
Constructor Summary
Constructors Constructor Description ConstructorBasedExtensionProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(EnableExtension configuration)
List<Extension>
provide(Method method)
Loads a T based on the method
-
-
-
Method Detail
-
accept
public void accept(EnableExtension configuration)
- Specified by:
accept
in interfaceConsumer<EnableExtension>
-
provide
public List<Extension> provide(Method method)
Description copied from interface:MethodBasedProvider
Loads a T based on the method- Specified by:
provide
in interfaceMethodBasedProvider<List<Extension>>
- Parameters:
method
- the method from which the information should be loaded- Returns:
- the loaded object
-
-