Interface ExtensionExecutor
-
- All Known Implementing Classes:
DefaultExtensionExecutor
public interface ExtensionExecutorManages 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 phasevoidexecuteAfterFaultCharacterization(List<Combination> combinations)Executes the callback after the fault characterization phaseList<Combination>executeAfterGeneration(List<Combination> combinations)Executes the callback after the generation phasevoidexecuteBeforeExecution(List<Combination> combinations)Executes the callback before the execution phasevoidexecuteBeforeFaultCharacterization(Map<Combination,TestResult> combinationTestResultMap)Executes the callback before the fault characterization phasevoidexecuteBeforeGeneration()Executes the callback before the initial generationInputParameterModelexecuteModelModifiers(InputParameterModel original, ExecutionReporter reporter)Executes all registeredModelModifierexactly in the order they were registered in.
-
-
-
Method Detail
-
executeModelModifiers
InputParameterModel executeModelModifiers(InputParameterModel original, ExecutionReporter reporter)
Executes all registeredModelModifierexactly in the order they were registered in.- Parameters:
original- the originalInputParameterModelas given by the userreporter- for reporting any changes to the original model- Returns:
- an
InputParameterModelmodified 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
-
-