Interface DiagnosticFilter
-
- All Superinterfaces:
ValidationFilter
- All Known Implementing Classes:
AbstractComplexFilter
,AbstractSimpleFilter
,SeverityFilter
public interface DiagnosticFilter extends ValidationFilter
Interface that allows filtering ofDiagnostic
s. See ValidationService#registerValidationFilter(ValidationFilter).- Author:
- Mat Hansen
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
ignoreDiagnostic(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.common.util.Diagnostic diagnostic)
Return true if the givenDiagnostic
should be ignored.
-
-
-
Method Detail
-
ignoreDiagnostic
boolean ignoreDiagnostic(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.common.util.Diagnostic diagnostic)
Return true if the givenDiagnostic
should be ignored. IgnoredDiagnostic
s will not appear in the output of ValidationService#validate(EObject).- Parameters:
eObject
- theEObject
that has been validateddiagnostic
- theDiagnostic
as a result of the validation of the givenEObject
- Returns:
- true if the given
Diagnostic
should not be included in the output of ValidationService#validate(EObject)
-
-