Interface SubTreeFilter
-
- All Superinterfaces:
ValidationFilter
- All Known Implementing Classes:
AbstractComplexFilter
public interface SubTreeFilter extends ValidationFilter
Interface that allows to skip the validation of sub trees. Only applicable for ValidationService#validate(java.util.Iterator) in conjunction with a EMF TreeIterator. See ValidationService#registerValidationFilter(ValidationFilter).- Author:
- Mat Hansen
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
skipSubtree(org.eclipse.emf.ecore.EObject eObject, Optional<org.eclipse.emf.common.util.Diagnostic> diagnostic)
Return true if the eContents (subtree) of the givenEObject
should not be validated.
-
-
-
Method Detail
-
skipSubtree
boolean skipSubtree(org.eclipse.emf.ecore.EObject eObject, Optional<org.eclipse.emf.common.util.Diagnostic> diagnostic)
Return true if the eContents (subtree) of the givenEObject
should not be validated. Note: this is only applicable for ValidationService#validate(java.util.Iterator) in conjunction with a EMF TreeIterator.- Parameters:
eObject
- the parentEObject
diagnostic
- theDiagnostic
for theEObject
in case it has been validated.- Returns:
- true, if the subtree of the given
EObject
should be skipped.
-
-