public interface IRuleExecutionSetFactory
IMRuleExecutionSet
.
Factory is responsible for Compilation, if and only if :
Modifier and Type | Method and Description |
---|---|
ICacheActivationResolver |
getCacheActivationResolver()
Allows to override global cache activation configuration.
|
ICompilationContext |
getCompilationContext() |
CompilationLevel |
getCompilationLevel() |
boolean |
isForceCompilationLevel()
Tells if compilation level specified in this ruleset factory has priority on compilation level defined in ruleset's context factory, if present.
|
boolean |
isOptimizationEnabled()
Allows to completely disable optimization process.
|
IMRuleExecutionSet |
read(InputStream is)
Reads IMRuleExecutionSet configuration
|
IMRuleExecutionSet |
read(Object ruleExecutionSetAst)
Reads IMRuleExecutionSet configuration
|
IMRuleExecutionSet |
read(Reader r)
Reads IMRuleExecutionSet configuration
|
IMRuleExecutionSet |
read(Serializable ruleExecutionSetAst)
Reads IMRuleExecutionSet configuration
|
void |
setCacheActivationResolver(ICacheActivationResolver cacheActivationResolver)
Allows to override global cache activation configuration.
|
void |
setCompilationContext(ICompilationContext compilationContext) |
void |
setCompilationLevel(CompilationLevel compilationLevel)
Sets compilation context to use with context factory.
|
void |
setForceCompilationLevel(boolean forceCompilationLevel) |
void |
setOptimizationEnabled(boolean optimizationEnabled)
Is optimization process enabled?
|
void |
write(OutputStream os,
IMRuleExecutionSet rule)
Writes IMRuleExecutionSet configuration with default charset
|
void |
write(OutputStream os,
IMRuleExecutionSet rule,
String charset)
Writes IMRuleExecutionSet configuration with provider charset
|
void |
write(Writer w,
IMRuleExecutionSet rule)
Writes IMRuleExecutionSet configuration
|
ICompilationContext getCompilationContext()
void setCompilationContext(ICompilationContext compilationContext)
CompilationLevel getCompilationLevel()
CompilationLevel.STANDARD
.void setCompilationLevel(CompilationLevel compilationLevel)
boolean isForceCompilationLevel()
void setForceCompilationLevel(boolean forceCompilationLevel)
isForceCompilationLevel()
ICacheActivationResolver getCacheActivationResolver()
MAddonsFinder.getCacheActivationResolver()
void setCacheActivationResolver(ICacheActivationResolver cacheActivationResolver)
boolean isOptimizationEnabled()
void setOptimizationEnabled(boolean optimizationEnabled)
IMRuleExecutionSet read(InputStream is) throws MConfigurationException
MConfigurationException
IMRuleExecutionSet read(Reader r) throws MConfigurationException
MConfigurationException
IMRuleExecutionSet read(Object ruleExecutionSetAst) throws MConfigurationException
MConfigurationException
IMRuleExecutionSet read(Serializable ruleExecutionSetAst) throws MConfigurationException
MConfigurationException
void write(Writer w, IMRuleExecutionSet rule) throws MConfigurationException, IOException
MConfigurationException
IOException
void write(OutputStream os, IMRuleExecutionSet rule) throws MConfigurationException, IOException
MConfigurationException
IOException
void write(OutputStream os, IMRuleExecutionSet rule, String charset) throws MConfigurationException, IOException
MConfigurationException
IOException