Class AbstractFixer
java.lang.Object
org.eclipse.epsilon.hutn.validation.AbstractFixer
- All Implemented Interfaces:
IEvlFixer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanapplyFix(UnsatisfiedConstraint constraint) Clients should override this method if fixes are used by the validator.voidfix(IEvlModule module) booleanprotected abstract ParseProbleminterpretUnsatisfiedConstraint(UnsatisfiedConstraint constraint) voidreset()
-
Constructor Details
-
AbstractFixer
public AbstractFixer()
-
-
Method Details
-
fix
- Specified by:
fixin interfaceIEvlFixer- Throws:
EolRuntimeException
-
reset
public void reset() -
hasChangedModel
public boolean hasChangedModel() -
applyFix
Clients should override this method if fixes are used by the validator. Returning true causes validation to be invoked again.- Parameters:
constraint- The unsatisifed constraint for which a fix will be applied.- Returns:
- true if and only if the fix caused the model to be changed.
- Throws:
EolRuntimeException
-
interpretUnsatisfiedConstraint
-