Package org.kie.internal.builder

## Interface KnowledgeBuilderResult

- All Known Subinterfaces:
    `KnowledgeBuilderError`

      public interface KnowledgeBuilderResult

  A super interface for Knowledge Building result messages.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `InternalMessage` | `asMessage​(long id)` |
    `int[]` | `getLines()` | Returns the lines that generated this result message in the source file
    `java.lang.String` | `getMessage()` | Returns the result message
    `org.kie.api.io.Resource` | `getResource()` | Returns the Resource that caused this result
    `ResultSeverity` | `getSeverity()` | Returns the result severity

- - ### Method Detail

    - #### getSeverity

          ResultSeverity getSeverity()

      Returns the result severity
      Returns:

    - #### getMessage

          java.lang.String getMessage()

      Returns the result message

    - #### getLines

          int[] getLines()

      Returns the lines that generated this result message in the source file
      Returns:

    - #### getResource

          org.kie.api.io.Resource getResource()

      Returns the Resource that caused this result
      Returns:

    - #### asMessage

          InternalMessage asMessage​(long id)