Drools :: Compiler 6.2.0.Final

org.drools.compiler.compiler
Class DeprecatedResourceTypeWarning

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

public class DeprecatedResourceTypeWarning
extends DroolsWarning


Constructor Summary
DeprecatedResourceTypeWarning(org.kie.api.io.Resource resource)
           
DeprecatedResourceTypeWarning(org.kie.api.io.Resource resource, String deprecatedFormat)
           
 
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.compiler.DroolsWarning
getSeverity
 
Methods inherited from class org.drools.compiler.compiler.BaseKnowledgeBuilderResultImpl
equals, getResource, hashCode, isError, setResource, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeprecatedResourceTypeWarning

public DeprecatedResourceTypeWarning(org.kie.api.io.Resource resource)

DeprecatedResourceTypeWarning

public DeprecatedResourceTypeWarning(org.kie.api.io.Resource resource,
                                     String deprecatedFormat)
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.kie.internal.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.kie.internal.builder.KnowledgeBuilderResult
Specified by:
getLines in class BaseKnowledgeBuilderResultImpl

Drools :: Compiler 6.2.0.Final

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