Package | Description |
---|---|
com.massa.mrules.addon | |
com.massa.mrules.factory.xml | |
com.massa.mrules.optimizer |
Modifier and Type | Field and Description |
---|---|
(package private) LinkedHashMap<String,PersistantPropertyInfo> |
PersistantPropertiesTable.propertiesFromAlias |
(package private) LinkedHashMap<String,PersistantPropertyInfo> |
PersistantPropertiesTable.propertiesFromName |
Modifier and Type | Method and Description |
---|---|
PersistantPropertyInfo |
PersistantPropertiesTable.getPropertyFromAlias(String alias) |
PersistantPropertyInfo |
PersistantPropertiesTable.getPropertyFromAliasOrName(String name) |
PersistantPropertyInfo |
PersistantPropertiesTable.getPropertyFromName(String name) |
Modifier and Type | Method and Description |
---|---|
Collection<PersistantPropertyInfo> |
PersistantPropertiesTable.getProperties() |
Modifier and Type | Method and Description |
---|---|
void |
PersistantPropertiesTable.addProperty(PersistantPropertyInfo info) |
Modifier and Type | Method and Description |
---|---|
protected void |
RichXMLFactory.GenericAddon.handleWriteAttribute(Outer os,
A addon,
PersistantPropertyInfo property,
Object propertyValue,
String defaultValue) |
protected void |
RichXMLFactory.FORMATAddon.handleWriteAttribute(Outer os,
A addon,
PersistantPropertyInfo property,
Object propertyValue,
String defaultValue) |
protected void |
RichXMLFactory.CALLAddon.handleWriteAttribute(Outer os,
A addon,
PersistantPropertyInfo property,
Object propertyValue,
String defaultValue) |
protected void |
RichXMLFactory.GenericAddon.handleWriteNode(Outer os,
A addon,
PersistantPropertyInfo property,
Object propertyValue) |
protected void |
RichXMLFactory.INDEXAddon.handleWriteNode(Outer os,
MIndex addon,
PersistantPropertyInfo property,
Object propertyValue) |
protected boolean |
RichXMLFactory.GenericAddon.isWriteAsAttribute(PersistantPropertyInfo property,
Object propertyValue)
Does value should be writen as node ?
|
protected boolean |
RichXMLFactory.FORMATAddon.isWriteAsAttribute(PersistantPropertyInfo property,
Object propertyValue) |
protected boolean |
RichXMLFactory.CALLAddon.isWriteAsAttribute(PersistantPropertyInfo property,
Object propertyValue) |
protected boolean |
RichXMLFactory.GenericAddon.isWriteAsNode(PersistantPropertyInfo property,
Object propertyValue)
Does value should be writen as attribute?
|
protected boolean |
RichXMLFactory.FORMATAddon.isWriteAsNode(PersistantPropertyInfo property,
Object propertyValue) |
protected boolean |
RichXMLFactory.CALLAddon.isWriteAsNode(PersistantPropertyInfo property,
Object propertyValue) |
protected boolean |
RichXMLFactory.INDEXAddon.isWriteAsNode(PersistantPropertyInfo property,
Object propertyValue) |
Modifier and Type | Method and Description |
---|---|
void |
RichXMLFactory.GenericAddon.afterWriteChildren(Outer os,
A addon,
String nodeName,
Map<PersistantPropertyInfo,Object> deferredNodes)
Called if current node has children, after writing them.
|
void |
RichXMLFactory.GenericAddon.beforeWriteChildren(Outer os,
A addon,
String nodeName,
Map<PersistantPropertyInfo,Object> deferredNodes)
Called if current node has children, before writing them.
|
void |
RichXMLFactory.MainRuleFactoryImpl.beforeWriteChildren(Outer os,
IMRuleExecutionSet addon,
String nodeName,
Map<PersistantPropertyInfo,Object> deferredNodes)
To write rule set "properties" node.
|
Modifier and Type | Method and Description |
---|---|
protected abstract IAddon |
AbstractRecursiveOptimizer.doAfterChildren(ICompilationContext ctxt,
IAddon parent,
PersistantPropertyInfo parentProp,
IAddon addon)
Hook called by
AbstractRecursiveOptimizer.pOptimizeRecursively(ICompilationContext, IAddon, PersistantPropertyInfo, IAddon) after browsing all sub addons. |
protected IAddon |
MExpressionOptimizer.doAfterChildren(ICompilationContext ctxt,
IAddon parent,
PersistantPropertyInfo parentProp,
IAddon addon)
Performs optimization.
|
protected IAddon |
MDeduplicationOptimizer.doAfterChildren(ICompilationContext ctxt,
IAddon parent,
PersistantPropertyInfo parentProp,
IAddon addon)
Does nothing.
|
protected IAddon |
MConstantOptimizer.doAfterChildren(ICompilationContext ctxt,
IAddon parent,
PersistantPropertyInfo parentProp,
IAddon addon)
Does nothing.
|
protected IAddon |
MReturnStatementOptimizer.doAfterChildren(ICompilationContext ctxt,
IAddon parent,
PersistantPropertyInfo parentProp,
IAddon addon)
Does nothing.
|
protected abstract IAddon |
AbstractRecursiveOptimizer.doBeforeChildren(ICompilationContext ctxt,
IAddon parent,
PersistantPropertyInfo parentProp,
IAddon addon)
Hook called by
AbstractRecursiveOptimizer.pOptimizeRecursively(ICompilationContext, IAddon, PersistantPropertyInfo, IAddon) before browsing all sub addons. |
protected IAddon |
MExpressionOptimizer.doBeforeChildren(ICompilationContext ctxt,
IAddon parent,
PersistantPropertyInfo parentProp,
IAddon addon)
Does nothing.
|
protected IAddon |
MDeduplicationOptimizer.doBeforeChildren(ICompilationContext ctxt,
IAddon parent,
PersistantPropertyInfo parentProp,
IAddon addon)
Deduplicates before children parsing.
|
protected IAddon |
MConstantOptimizer.doBeforeChildren(ICompilationContext ctxt,
IAddon parent,
PersistantPropertyInfo parentProp,
IAddon addon)
Replaces eligible Read Accessors and conditions by constant values.
|
protected IAddon |
MReturnStatementOptimizer.doBeforeChildren(ICompilationContext ctxt,
IAddon parent,
PersistantPropertyInfo parentProp,
IAddon addon)
Does nothing.
|
protected void |
AbstractRecursiveOptimizer.pOptimizeInCollection(ICompilationContext ctxt,
IAddon parent,
PersistantPropertyInfo parentProp,
Collection<Object> propValues)
Allows to parse a collection and call
AbstractRecursiveOptimizer.pOptimizeRecursively(ICompilationContext, IAddon, PersistantPropertyInfo, IAddon) on all addons it contains. |
protected void |
MReturnStatementOptimizer.pOptimizeInCollection(ICompilationContext ctxt,
IAddon parent,
PersistantPropertyInfo parentProp,
Collection<Object> propValues)
Checks the addons collection to check that the return statement is in last position.
|
protected void |
AbstractRecursiveOptimizer.pOptimizeInMap(ICompilationContext ctxt,
IAddon parent,
PersistantPropertyInfo parentProp,
Map<Object,Object> propValues)
Allows to parse a map and call
AbstractRecursiveOptimizer.pOptimizeRecursively(ICompilationContext, IAddon, PersistantPropertyInfo, IAddon) on all addons it contains in values. |
protected IAddon |
AbstractRecursiveOptimizer.pOptimizeRecursively(ICompilationContext ctxt,
IAddon parent,
PersistantPropertyInfo parentProp,
IAddon addon)
Recursive method allowing to browse addon hierarchy.
|