com.pega.pegarules.pub.runtime
Interface FUASupport


public interface FUASupport

Used to provide the list of method/signatures that are available to the expression parser at runtime.

Author:
clinb

Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String VERSION
           
 
Method Summary
 void fuaDestroy()
          provides for a callable interface to cleanup generated code on unload/invalidate
 void fuaInit()
          provides for a callable interface to initialize generated code on first load
 java.lang.String getAspect()
          Returns the aspect of this rule's Rule-Obj-Class that this implementation is for.
 java.lang.String getDefinitionAppliesToClass()
          Returns pyClassName of defining rule
 com.pega.pegarules.priv.generator.DependentRuleInfo[] getDependentRuleInfos()
          The getDependentRuleInfos method returns the set of dependent rules required to build the generated code and (possibly) whole classes that the rules assembler declared.
 java.lang.String getPersonal()
          returns the actual name of the personal ruleset that was used in the construction of this class.
 com.pega.pegarules.priv.tracer.RuleTraceInfo getTraceInfoForUnqualifiedVersion()
          Returns rule information for the unqualified version of this rule.
 java.lang.String[] getUsedRules()
          The getUsedRules method returns the set of rules required to build the generated code and (possibly) whole classes that the rules assembler declared.
 boolean hasPersonal()
          generated to reflect the fact that a personal ruleset did/did not contribute to the construction of the class.
 boolean isTransient()
          tests this class to see if it is a transient one that should never be cached.
 void setTransient()
          makes this implementation a transient one that cannot be cached.
 

Field Detail

COPYRIGHT

static final java.lang.String COPYRIGHT
See Also:
Constant Field Values

VERSION

static final java.lang.String VERSION
See Also:
Constant Field Values
Method Detail

getUsedRules

java.lang.String[] getUsedRules()
The getUsedRules method returns the set of rules required to build the generated code and (possibly) whole classes that the rules assembler declared.

Returns:
Set of Strings of the form "class:family" - one per dependency.

getDependentRuleInfos

com.pega.pegarules.priv.generator.DependentRuleInfo[] getDependentRuleInfos()
The getDependentRuleInfos method returns the set of dependent rules required to build the generated code and (possibly) whole classes that the rules assembler declared.

Returns:
array of DependentRuleInfo objects.

hasPersonal

boolean hasPersonal()
generated to reflect the fact that a personal ruleset did/did not contribute to the construction of the class.

Returns:
true if a personal ruleset contributed at least one rule to the construction of the class otherwise false

getPersonal

java.lang.String getPersonal()
returns the actual name of the personal ruleset that was used in the construction of this class.

Returns:
name of personal ruleset used

fuaInit

void fuaInit()
provides for a callable interface to initialize generated code on first load

Engineering owner
clinb

fuaDestroy

void fuaDestroy()
provides for a callable interface to cleanup generated code on unload/invalidate

Engineering owner
clinb

getDefinitionAppliesToClass

java.lang.String getDefinitionAppliesToClass()
Returns pyClassName of defining rule

Returns:
name

getAspect

java.lang.String getAspect()
Returns the aspect of this rule's Rule-Obj-Class that this implementation is for.

Returns:
the aspect

setTransient

void setTransient()
makes this implementation a transient one that cannot be cached.


isTransient

boolean isTransient()
tests this class to see if it is a transient one that should never be cached.

Returns:
true if transient

getTraceInfoForUnqualifiedVersion

com.pega.pegarules.priv.tracer.RuleTraceInfo getTraceInfoForUnqualifiedVersion()
Returns rule information for the unqualified version of this rule.

Returns:
rule information for the unqualified version of the top-level rule that contributed to this generated implementation. If this is an edit-time implementation, then returns null.
Throws:
UnresolvedAssemblyError - if this is not an edit-time implementation and there is no unqualified version of the top-level rule


Copyright © 2012 Pegasystems Inc. All Rights Reserved.