Package org.kie.internal.builder

# Interface KnowledgeBuilderResult

All Known Subinterfaces:
  `KnowledgeBuilderError`

public interface KnowledgeBuilderResult
A super interface for Knowledge Building result messages.

- ## Method Summary

  Modifier and Type
  Method
  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
  `Resource`
  `getResource()`
  Returns the Resource that caused this result
  `ResultSeverity`
  `getSeverity()`
  Returns the result severity

- ## Method Details

  - ### 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

    Resource getResource()
    Returns the Resource that caused this result
    Returns:

  - ### asMessage

    InternalMessage asMessage(long id)