Interface AssessmentExecutor<DOC extends Document>

    • Method Detail

      • execute

        void execute​(DOC documentToAssess,
                     AssessmentResultBuilder resultBuilder)
              throws AssessmentException
        Executes an assessment over the provided XML document.

        Implementations of this method are expected to catch any exceptions and wrap them in an AssessmentException.

        Parameters:
        documentToAssess - the document to perform the assessment over
        resultBuilder - a result builder instance that can be used to record the results of the assessment execution
        Throws:
        AssessmentException - if an error occurs while performing the assessment