Class ModelModificationPhase
- java.lang.Object
-
- de.rwth.swc.coffee4j.engine.process.phase.AbstractPhase<ModelModificationContext,InputParameterModel,InputParameterModel>
-
- de.rwth.swc.coffee4j.engine.process.phase.model.ModelModificationPhase
-
- All Implemented Interfaces:
Phase<InputParameterModel,InputParameterModel>
public class ModelModificationPhase extends AbstractPhase<ModelModificationContext,InputParameterModel,InputParameterModel>
Phase which modifies theInputParameterModel
in aTestMethodConfiguration
using themodifiers
given in aExtensionExecutor
.
-
-
Field Summary
-
Fields inherited from class de.rwth.swc.coffee4j.engine.process.phase.AbstractPhase
context
-
-
Constructor Summary
Constructors Constructor Description ModelModificationPhase(ModelModificationContext context)
Creates a new instance with the context containing the model modifiers to use when executing the phase.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputParameterModel
execute(InputParameterModel originalModel)
Executes the phase.
-
-
-
Constructor Detail
-
ModelModificationPhase
public ModelModificationPhase(ModelModificationContext context)
Creates a new instance with the context containing the model modifiers to use when executing the phase.- Parameters:
context
- phase context containing the model modifiers
-
-
Method Detail
-
execute
public InputParameterModel execute(InputParameterModel originalModel)
Description copied from interface:Phase
Executes the phase. Transform some input int some output- Parameters:
originalModel
- the input of the phase- Returns:
- the output of the phase
-
-