|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RuleMetaData
A meta data object describing a rule. A rule meta data object is a data bean that contains a collection of criteria and action meta data objects. Logically, the criteria are used to determine if a particular event is interesting, and the actions are used to handle any interesting events in a particular way. Note that in most cases, a rule contains just a single criteria and a single action.
Note that the criteria and actions contained in a rule are logically managed and owned by the rule. They are not meant to be shared with other rules. If a rule is deleted, each of its contained criteria and actions are deleted as well.
This representation of a rule is intended for use by a UI, and is suitable for transport over RPC and eventual persistent storage.
Method Summary | |
---|---|
ActionMetaData[] |
getActions()
Returns the collection of action meta data defined for this rule. |
CriteriaMetaData[] |
getCriteria()
Returns the collection of criteria meta data defined for this rule. |
java.lang.String |
getDescription()
Returns the description of this object. |
java.lang.String |
getName()
Returns the name of this object. |
RuleID |
getRuleID()
The unique ID of this object. |
boolean |
isActive()
True if this rule is currently active, false otherwise. |
Method Detail |
---|
RuleID getRuleID()
boolean isActive()
CriteriaMetaData[] getCriteria()
ActionMetaData[] getActions()
java.lang.String getName()
java.lang.String getDescription()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |