Interface InterpreterResultMerger

  • All Known Implementing Classes:
    BasicInterpreterResultMerger

    public interface InterpreterResultMerger
    The interpreter result merger encapsulates the logic required to combine the issues of multiple InterpreterResult instances.
    • Method Detail

      • merge

        InterpreterResult merge​(InterpreterResult previousResult,
                                InterpreterResult newResult)
        Merges two interpreter result instances. Attention: this method is not required to be idempotent. The passed result instances should not be used any further after the call to merge, as implementors are allowed to reuse one of the objects for the final result.