org.drools.compiler
Class DroolsWarningWrapper

java.lang.Object
  extended by org.drools.compiler.BaseKnowledgeBuilderResultImpl
      extended by org.drools.compiler.DroolsWarning
          extended by org.drools.compiler.DroolsWarningWrapper
All Implemented Interfaces:
org.drools.builder.KnowledgeBuilderResult

public class DroolsWarningWrapper
extends DroolsWarning


Constructor Summary
DroolsWarningWrapper(org.drools.builder.KnowledgeBuilderResult problem)
           
 
Method Summary
 int[] getLines()
          Returns the lines of the error in the source file
 String getMessage()
          Classes that extend this must provide a printable message, which summarises the error.
 
Methods inherited from class org.drools.compiler.DroolsWarning
getSeverity
 
Methods inherited from class org.drools.compiler.BaseKnowledgeBuilderResultImpl
getResource, isError, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DroolsWarningWrapper

public DroolsWarningWrapper(org.drools.builder.KnowledgeBuilderResult problem)
Method Detail

getMessage

public String getMessage()
Description copied from class: BaseKnowledgeBuilderResultImpl
Classes that extend this must provide a printable message, which summarises the error.

Specified by:
getMessage in interface org.drools.builder.KnowledgeBuilderResult
Specified by:
getMessage in class BaseKnowledgeBuilderResultImpl

getLines

public int[] getLines()
Description copied from class: BaseKnowledgeBuilderResultImpl
Returns the lines of the error in the source file

Specified by:
getLines in interface org.drools.builder.KnowledgeBuilderResult
Specified by:
getLines in class BaseKnowledgeBuilderResultImpl


Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.