| java.lang.Object org.drools.jsr94.rules.admin.RuleImpl
RuleImpl | public class RuleImpl implements Rule(Code) | | 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.
See Also: Rule author: N. Alex Rupp (n_alex codehaus.org) author: thomas diesler author: michael frandsen |
RuleImpl | RuleImpl(org.drools.rule.Rule rule)(Code) | | Creates a RuleImpl object by wrapping an
org.drools.rule.Rule object.
Parameters: rule - the org.drools.rule.Rule object to be wrapped. |
getDescription | public String getDescription()(Code) | | Get a description of the rule.
A description of the rule or null of no description is specified. |
getName | public String getName()(Code) | | Get the name of this rule.
The name of this rule. |
getProperty | public Object getProperty(Object key)(Code) | | Get a user-defined or Drools-defined property.
Parameters: key - the key to use to retrieve the property the value bound to the key or null |
getRule | org.drools.rule.Rule getRule()(Code) | | Returns the org.drools.rule.Rule that lies at the core of
this javax.rules.admin.Rule object. This method is package
private.
org.drools.rule.Rule at the core of this object. |
setProperty | public void setProperty(Object key, Object value)(Code) | | Set a user-defined or Drools-defined property.
Parameters: key - the key for the property value Parameters: value - the value to associate with the key |
|
|