Interface ICheckResultAcceptor

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void addIssue​(Object context, Issue issue)
      Adds an issue for a specific object.
      void delegateChecks​(Iterable<?> delegatedModelIterable)
      Delegates the further checks to the set of subsidiary checks by providing some derived model with means of its traversal in the form of the iterable.
    • Method Detail

      • addIssue

        void addIssue​(Object context,
                      Issue issue)
        Adds an issue for a specific object. The coordinates in the issue should match the context object otherwise the system will raise an error during the validation or will be unable to navigate to the problem later.
        Parameters:
        context - The object the issue will be associated with. The marker of the issue will contain coordinates of this object in navigable form (link) as well. May not be null
        issue - Issue to add. May not be null
      • delegateChecks

        void delegateChecks​(Iterable<?> delegatedModelIterable)
        Delegates the further checks to the set of subsidiary checks by providing some derived model with means of its traversal in the form of the iterable. This behavior may be used to perform effective checks of non-standard models being created on the fly or taken from non-standard persistent stores. Delegated models are being traversed by the EDT check engine after the main check and applicable subsidiary checks are being applied
        Parameters:
        delegatedModelIterable - The iterable that defines the iteration through the subsidiary model. May not be null