Home > Class Reference > ENSLIB namespace > Ens.Rule.Compiler
Private  Storage   

Ens.Rule.Compiler


class Ens.Rule.Compiler extends %RegisteredObject

Legacy: Provided the ability to compile persistent rule definitions into routines.

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 5


Summary


Properties
Code

Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified %New
%NormalizeObject %ObjectModified %OriginalNamespace %PackageName
%RemoveFromSaveSet %SerializeObject %SetModified %ValidateObject
AllocateRoutineName CompileRule DeleteRoutine MakeRoutineName
PurgeRuleCache


Properties


• property Code as %GlobalCharacterStream [ Transient ];
This holds the generated code

Methods


• classmethod AllocateRoutineName() as %String
Returns a routine name in which compiled rule can be placed.
• classmethod CompileRule(pRuleDef As RuleDefinition, pRoutineName As %String) as %Status
Generate executable code for the given rule definition and store it into routine pRoutineName.
• classmethod DeleteRoutine(pName As %String) as %Status
Delete the given routine from the rule cache
• classmethod MakeRoutineName(id As %Integer) as %String
Return a rule cache routine name Try to use values that collate
• classmethod PurgeRuleCache() as %Status
Delete all routines from Rule Cache