|
ABLE 2.3.0 07/13/2005 14:21:00 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectcom.ibm.able.rules.AbleRule
com.ibm.able.rules.AbleCorrelationRule
This class contains an event-condition-action rule used for event correlation and temporal rule processing.
| Field Summary | |
|---|---|
protected java.util.HashSet |
myBindings
|
protected java.util.Vector |
myCloneableArgs
|
protected java.util.Vector |
myConditionArgs
|
protected java.util.Vector |
myConsequents
|
protected java.util.Vector |
myEventSelectors
|
protected AbleLifespan |
myLifeSpan
|
| Fields inherited from class com.ibm.able.rules.AbleRule |
|---|
myBooleanTruth, myBreakpoint, myComment, myEnabled, myFinalFlag, myFiredCount, myFiredFlag, myId, myLabel, myLocation, myPreConditions, myPriority, myPrompt, myProperties, myRdRefs, myRuleBlock, myRuleSet, myTemplateFlag, myTemplateName, myTemplateValues, myWrRefs, PriorityDefault, RuleIdInitial |
| Constructor Summary | |
|---|---|
AbleCorrelationRule(java.lang.String theLabel,
AbleRd thePriority,
java.util.Vector theConditionArgs,
java.util.Vector theCloneableArgs,
java.util.Vector theEventSelectors,
java.util.Vector theActions,
AbleRuleSet theRuleSet)
Create a new event-condition-action rule with the specified priority, arguments, event selectors, and actions. |
|
| Method Summary | |
|---|---|
java.lang.String |
arlString()
Return a formal Able Rule Language (ARL) String. |
java.lang.String |
armlString()
Return a formal XML string. |
java.util.Vector |
getActions()
Retrieve the rule's list of "do" action clauses. |
java.util.Vector |
getCloneableArgs()
Retrieve the rule's cloneable arguments. |
java.util.Vector |
getConditionArgs()
Retrieve the rule's condition arguments. |
java.util.Vector |
getEventTypes()
Return the names of events processed by this rule |
int |
getNumberOfSelectors()
Retrieve the number of selector clauses in this rule. |
java.util.Vector |
getSelectors()
Retrieve the rule's list of selector clauses. |
java.lang.String |
getTemplateString(java.util.Vector theTemplateVars)
Retrieve a text format string for use by rule templates. |
java.lang.String |
toString()
Retrieve a string describing (the contents of) the object. |
java.lang.String |
traceString(int theTraceStringFlavor)
Retrieve a string describing (the contents of) the object. |
java.lang.String |
xmlString()
Return a formal XML string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected AbleLifespan myLifeSpan
protected java.util.Vector myConditionArgs
protected java.util.Vector myCloneableArgs
protected java.util.Vector myConsequents
protected java.util.Vector myEventSelectors
protected java.util.HashSet myBindings
| Constructor Detail |
public AbleCorrelationRule(java.lang.String theLabel,
AbleRd thePriority,
java.util.Vector theConditionArgs,
java.util.Vector theCloneableArgs,
java.util.Vector theEventSelectors,
java.util.Vector theActions,
AbleRuleSet theRuleSet)
theLabel - The unique label, or name, of this rule.
thePriority - The priority of this rule.
theConditionArgs - A list of AbleRd objects that define the condition arguments
of this rule. The list is cloned.
theCloneableArgs - A list of AbleRd objects that define the cloneable arguments
of this rule. The list is cloned.
theEventSelectors - A list of AbleSelector objects that define the
event selectors (variables and constraints) of this rule. The list is cloned.
theActions - A list of AbleConsequentClause objects that define the
actions of this rule.
| Method Detail |
public final java.util.Vector getSelectors()
public final java.util.Vector getConditionArgs()
public final java.util.Vector getCloneableArgs()
public final java.util.Vector getActions()
public int getNumberOfSelectors()
public java.util.Vector getEventTypes()
public java.lang.String arlString()
arlString in class AbleRulepublic java.lang.String xmlString()
xmlString in class AbleRulepublic java.lang.String armlString()
AbleRule
armlString in class AbleRule
public java.lang.String getTemplateString(java.util.Vector theTemplateVars)
throws AbleDataException
getTemplateString in class AbleRuletheTemplateVars - An ordered list of template variables referenced by this rule.
AbleDataExceptionAbleRuleTemplatepublic java.lang.String toString()
toString in class AbleRulepublic java.lang.String traceString(int theTraceStringFlavor)
traceString in class AbleRuletheTraceStringFlavor - An Able.TraceStringFlavor value.
|
ABLE 2.3.0 07/13/2005 14:21:00 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||