public class RuleImpl extends Object implements javax.rules.admin.Rule
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 FormModifier and Type | Method and Description |
---|---|
String |
getDescription()
Get a description of the rule.
|
String |
getName()
Get the name of this rule.
|
Object |
getProperty(Object key)
Get a user-defined or Drools-defined property.
|
void |
setProperty(Object key,
Object value)
Set a user-defined or Drools-defined property.
|
public String getName()
getName
in interface javax.rules.admin.Rule
public String getDescription()
getDescription
in interface javax.rules.admin.Rule
public Object getProperty(Object key)
getProperty
in interface javax.rules.admin.Rule
key
- the key to use to retrieve the propertynull
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.