[rules-users] rule definition string

Karl.Trout karl.trout at gmail.com
Tue Oct 2 21:19:48 EDT 2007


Looking to simply give my users definitions of what
A rule does and keep that discription as a rule atribute.
So when I get the rule name I could also get the definition.
As of right now I put a small string in the name and parse it.
Example:
Rule "myrule:this rule does something"

String[] d=rule.getName().split(":",2);

what I would really want to use would be.


Rule "myrule"
Discription "this rule does something"

String d = rule.getDiscription();

Wondering if there was something all ready doing this.
Karl Trout

On Oct 2, 2007, at 8:01 PM, Mark Proctor <mproctor at codehaus.org> wrote:

> Karl Trout wrote:
>> Anyone have a good idea on how one would go about inserting a  
>> definition of the rule inside the rule so when the rule is analyzed  
>> the definition could be attained?
>>
> Could you explain more?
>> _______________________________________________
>> rules-users mailing list
>> rules-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20071002/7c01b13e/attachment.html 


More information about the rules-users mailing list