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 voidaccept(EnableExtension configuration)List<Extension>provide(Method method)Loads a T based on the method
-
-
-
Method Detail
-
accept
public void accept(EnableExtension configuration)
- Specified by:
acceptin interfaceConsumer<EnableExtension>
-
provide
public List<Extension> provide(Method method)
Description copied from interface:MethodBasedProviderLoads a T based on the method- Specified by:
providein interfaceMethodBasedProvider<List<Extension>>- Parameters:
method- the method from which the information should be loaded- Returns:
- the loaded object
-
-