Annotation Type EnableReporter
-
@Documented @Target({ANNOTATION_TYPE,METHOD}) @Retention(RUNTIME) @ReporterSource(de.rwth.swc.coffee4j.junit.engine.annotation.configuration.reporter.ConstructorBasedReporterProvider.class) public @interface EnableReporter
This is aReporterSource
using theConstructorBasedReporterProvider
to create new instances of aExecutionReporter
via a no-args, or one-arg constructor. Since reporters are allowed, just return multiple classes in thevalue()
method to register more reporters, or use any otherReporterSource
sinceReporterSource
is a repeatable annotation.If
useLevel()
is set tofalse
(this is the default) a no-args constructor is used to instantiate theExecutionReporter
s. Otherwise, theReportLevel
defined bylevel()
is given to the constructor so an excepting constructor is needed. This can be used to directly configure the level to which reporters should listen at the method.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description Class<? extends ExecutionReporter>[]
value
Gets the class of the suppliedExecutionReporter
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description ReportLevel
level
Gets theReportLevel
of the suppliedExecutionReporter
boolean
useLevel
Getsboolean
on whether to tu used theReportLevel
-
-
-
Element Detail
-
value
Class<? extends ExecutionReporter>[] value
Gets the class of the suppliedExecutionReporter
- Returns:
- the class of
ExecutionReporter
which listen to combinatorial test execution. Either a no-args or constructor needing oneReportLevel
is needed depending on the setting ofuseLevel()
as described inEnableReporter
-
-
-
level
ReportLevel level
Gets theReportLevel
of the suppliedExecutionReporter
- Returns:
- at which level the
ExecutionReporter
s should listen ifuseLevel()
is enabled
- Default:
- de.rwth.swc.coffee4j.algorithmic.report.ReportLevel.INFO
-
-
-
useLevel
boolean useLevel
Getsboolean
on whether to tu used theReportLevel
- Returns:
- whether to use
ReportLevel
during the instantiation of allExecutionReporter
s
- Default:
- false
-
-