Annotation Type EnableFaultCharacterization
-
@Documented @Target({ANNOTATION_TYPE,METHOD}) @Retention(RUNTIME) @FaultCharacterizationAlgorithmFactorySource(de.rwth.swc.coffee4j.junit.engine.annotation.configuration.sequential.characterization.ConstructorBasedFaultCharacterizationProvider.class) public @interface EnableFaultCharacterization
This is aFaultCharacterizationAlgorithmFactorySource
which uses theConstructorBasedFaultCharacterizationProvider
to create new instances of aFaultCharacterizationAlgorithmFactory
by instantiation the respectiveFaultCharacterizationAlgorithmFactory
class via constructor accepting exactly oneFaultCharacterizationConfiguration
. This means that not aFaultCharacterizationAlgorithmFactory
is needed in thealgorithm()
method, but instead a normalFaultCharacterizationAlgorithm
which can be instantiated multiple times, thus creating aFaultCharacterizationAlgorithmFactory
.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description Class<? extends FaultCharacterizationAlgorithm>
algorithm
Gets theFaultCharacterizationAlgorithm
specified by this annotation
-
-
-
Element Detail
-
algorithm
Class<? extends FaultCharacterizationAlgorithm> algorithm
Gets theFaultCharacterizationAlgorithm
specified by this annotation- Returns:
- the class of a
FaultCharacterizationAlgorithm
which has a constructor with just oneFaultCharacterizationConfiguration
parameter
- Default:
- de.rwth.swc.coffee4j.algorithmic.sequential.characterization.ben.Ben.class
-
-