Interface DiagnosticFilter

    • 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 given Diagnostic 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 given Diagnostic should be ignored. Ignored Diagnostics will not appear in the output of ValidationService#validate(EObject).
        Parameters:
        eObject - the EObject that has been validated
        diagnostic - the Diagnostic as a result of the validation of the given EObject
        Returns:
        true if the given Diagnostic should not be included in the output of ValidationService#validate(EObject)