org.kie.internal.builder

## Interface KnowledgeBuilderResult

- All Known Subinterfaces:
    KnowledgeBuilderError

      public interface KnowledgeBuilderResult

  A super interface for Knowledge Building result messages.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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:

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