public class RLTextSource extends java.lang.Object implements RuleSource
RuleSource that specifies RL text explicitly.| Constructor and Description |
|---|
RLTextSource(java.lang.String text)
Create a
RLTextSource. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getRules()
Get an object that provides access to the rule sets.
|
java.lang.String |
getText()
Get the RL text.
|
public RLTextSource(java.lang.String text)
RLTextSource.text - The RL text.public java.lang.String getText()
public java.lang.Object getRules()
throws javax.rules.admin.RuleAdministrationException
getRules in interface RuleSourcejavax.rules.admin.RuleAdministrationException - if there is an error gaining access