Class ReporterLoader
- java.lang.Object
-
- de.rwth.swc.coffee4j.junit.engine.annotation.configuration.reporter.ReporterLoader
-
- All Implemented Interfaces:
Loader<List<ExecutionReporter>>
public class ReporterLoader extends Object implements Loader<List<ExecutionReporter>>
Class for loading multipleExecutionReporter
s viaReporterProvider
. These providers are discovered using theReporterSource
repeatable annotations. As such, multipleExecutionReporter
provided by eachReporterSource
are aggregated into one single list in this loader.
-
-
Constructor Summary
Constructors Constructor Description ReporterLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ExecutionReporter>
load(Method method)
Loads a T based on the class
-
-
-
Method Detail
-
load
public List<ExecutionReporter> load(Method method)
Description copied from interface:Loader
Loads a T based on the classInitializes the provider with the necessary annotation located somewhere on the class beforehand
- Specified by:
load
in interfaceLoader<List<ExecutionReporter>>
- Parameters:
method
- the method from which the information should be loaded- Returns:
- the loaded object
-
-