Drools :: Compiler 6.2.0.Final

org.drools.compiler.rule.builder.dialect.mvel
Class MVELDialectConfiguration

java.lang.Object
  extended by org.drools.compiler.rule.builder.dialect.mvel.MVELDialectConfiguration
All Implemented Interfaces:
DialectConfiguration

public class MVELDialectConfiguration
extends Object
implements DialectConfiguration

The MVEL dialect. drools.dialect.mvel.strict = Default strict is true, which means all expressions and the consequence are type safe. However dynamic mode is still used while executed nested accessors in the field constraints.


Constructor Summary
MVELDialectConfiguration()
           
 
Method Summary
 int getLangLevel()
           
 KnowledgeBuilderConfigurationImpl getPackageBuilderConfiguration()
           
 void init(KnowledgeBuilderConfigurationImpl conf)
           
 boolean isStrict()
           
 Dialect newDialect(ClassLoader rootClassLoader, KnowledgeBuilderConfigurationImpl pkgConf, PackageRegistry pkgRegistry, org.drools.core.definitions.InternalKnowledgePackage pkg)
           
 void setLangLevel(int langLevel)
           
 void setStrict(boolean strict)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MVELDialectConfiguration

public MVELDialectConfiguration()
Method Detail

newDialect

public Dialect newDialect(ClassLoader rootClassLoader,
                          KnowledgeBuilderConfigurationImpl pkgConf,
                          PackageRegistry pkgRegistry,
                          org.drools.core.definitions.InternalKnowledgePackage pkg)
Specified by:
newDialect in interface DialectConfiguration

init

public void init(KnowledgeBuilderConfigurationImpl conf)
Specified by:
init in interface DialectConfiguration

getPackageBuilderConfiguration

public KnowledgeBuilderConfigurationImpl getPackageBuilderConfiguration()
Specified by:
getPackageBuilderConfiguration in interface DialectConfiguration

setStrict

public void setStrict(boolean strict)

isStrict

public boolean isStrict()

setLangLevel

public void setLangLevel(int langLevel)

getLangLevel

public int getLangLevel()

Drools :: Compiler 6.2.0.Final

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