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 and Description
    --- | ---
    `InternalMessage` | `asMessage(long id)`
    `int[]` | `getLines()` Returns the lines that generated this result message in the source file
    `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

          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)

Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.