Interface ExtensionExecutor
-
- All Known Implementing Classes:
DefaultExtensionExecutor
public interface ExtensionExecutor
Manages the execution of defined extensions. The currently known extension are callbacks before the three phases: initial generation, execution, and fault characterization
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<Combination,TestResult>
executeAfterExecution(Map<Combination,TestResult> testResultMap)
Executes the callback after the execution phasevoid
executeAfterFaultCharacterization(List<Combination> combinations)
Executes the callback after the fault characterization phaseList<Combination>
executeAfterGeneration(List<Combination> combinations)
Executes the callback after the generation phasevoid
executeBeforeExecution(List<Combination> combinations)
Executes the callback before the execution phasevoid
executeBeforeFaultCharacterization(Map<Combination,TestResult> combinationTestResultMap)
Executes the callback before the fault characterization phasevoid
executeBeforeGeneration()
Executes the callback before the initial generationInputParameterModel
executeModelModifiers(InputParameterModel original, ExecutionReporter reporter)
Executes all registeredModelModifier
exactly in the order they were registered in.
-
-
-
Method Detail
-
executeModelModifiers
InputParameterModel executeModelModifiers(InputParameterModel original, ExecutionReporter reporter)
Executes all registeredModelModifier
exactly in the order they were registered in.- Parameters:
original
- the originalInputParameterModel
as given by the userreporter
- for reporting any changes to the original model- Returns:
- an
InputParameterModel
modified by all registered processors
-
executeBeforeGeneration
void executeBeforeGeneration()
Executes the callback before the initial generation
-
executeAfterGeneration
List<Combination> executeAfterGeneration(List<Combination> combinations)
Executes the callback after the generation phase- Parameters:
combinations
- the list of combinations generated in the generation phase- Returns:
- the possibly sorted combinations
-
executeBeforeExecution
void executeBeforeExecution(List<Combination> combinations)
Executes the callback before the execution phase- Parameters:
combinations
- the sorted combinations from the generation phase
-
executeAfterExecution
Map<Combination,TestResult> executeAfterExecution(Map<Combination,TestResult> testResultMap)
Executes the callback after the execution phase- Parameters:
testResultMap
- the preliminary test results from the execution phase- Returns:
- the possibly altered execution results
-
executeBeforeFaultCharacterization
void executeBeforeFaultCharacterization(Map<Combination,TestResult> combinationTestResultMap)
Executes the callback before the fault characterization phase- Parameters:
combinationTestResultMap
- the summarized test results of the combinations
-
executeAfterFaultCharacterization
void executeAfterFaultCharacterization(List<Combination> combinations)
Executes the callback after the fault characterization phase- Parameters:
combinations
- the combinations generated in the fault characterization phase
-
-