|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.jsr94.rules.admin.RuleImpl
The Drools implementation of the Rule
interface which provides
access to simple metadata for a rule. Related Rule
instances are assembled into RuleExecutionSet
s, which in
turn, can be executed by a rules engine via the RuleSession
interface.
Rule
,
Serialized Form
Method Summary | |
java.lang.String |
getDescription()
Get a description of the rule. |
java.lang.String |
getName()
Get the name of this rule. |
java.lang.Object |
getProperty(java.lang.Object key)
Get a user-defined or Drools-defined property. |
void |
setProperty(java.lang.Object key,
java.lang.Object value)
Set a user-defined or Drools-defined property. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public java.lang.String getName()
getName
in interface javax.rules.admin.Rule
public java.lang.String getDescription()
getDescription
in interface javax.rules.admin.Rule
public java.lang.Object getProperty(java.lang.Object key)
getProperty
in interface javax.rules.admin.Rule
key
- the key to use to retrieve the property
null
public void setProperty(java.lang.Object key, java.lang.Object value)
setProperty
in interface javax.rules.admin.Rule
key
- the key for the property valuevalue
- the value to associate with the key
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |