| java.lang.Object org.drools.compiler.PackageBuilderConfiguration
PackageBuilderConfiguration | public class PackageBuilderConfiguration (Code) | | This class configures the package compiler.
Dialects and their DialectConfigurations are handled by the DialectRegistry
Normally you will not need to look at this class, unless you want to override the defaults.
drools.dialect.default =
drools.accumulate.function. =
default dialect is java.
Available preconfigured Accumulate functions are:
drools.accumulate.function.average = org.drools.base.accumulators.AverageAccumulateFunction
drools.accumulate.function.max = org.drools.base.accumulators.MaxAccumulateFunction
drools.accumulate.function.min = org.drools.base.accumulators.MinAccumulateFunction
drools.accumulate.function.count = org.drools.base.accumulators.CountAccumulateFunction
drools.accumulate.function.sum = org.drools.base.accumulators.SumAccumulateFunction
|
PackageBuilderConfiguration | public PackageBuilderConfiguration(Properties properties)(Code) | | Programmatic properties file, added with lease precedence
Parameters: properties - |
PackageBuilderConfiguration | public PackageBuilderConfiguration(ClassLoader classLoader, Properties properties)(Code) | | Programmatic properties file, added with lease precedence
Parameters: classLoader - Parameters: properties - |
PackageBuilderConfiguration | public PackageBuilderConfiguration()(Code) | | |
addAccumulateFunction | public void addAccumulateFunction(String identifier, String className)(Code) | | |
addAccumulateFunction | public void addAccumulateFunction(String identifier, Class clazz)(Code) | | |
getAccumulateFunctionsMap | public Map getAccumulateFunctionsMap()(Code) | | |
setClassLoader | public void setClassLoader(ClassLoader classLoader)(Code) | | Use this to override the classloader that will be used for the rules.
|
setDefaultDialect | public void setDefaultDialect(String defaultDialect)(Code) | | |
|
|