[rules-users] Util Method to split "String" content containing declare/end, rule/end, ...
Charles Moulliard
ch007m at gmail.com
Fri Apr 19 07:53:01 EDT 2013
Hi,
Is there a util method in drools / kie project to split content of a
package that we retrieve using REST from Guvnor ?
package mortgages
// BEGIN
declare LoanApplication
amount: Integer
approved: Boolean
deposit: Integer
approvedRate: Integer
lengthYears: Integer
explanation: String
insuranceCost: Integer
end // SPLIT END HERE
...
rule "CheckBoxDslRule"
dialect "mvel"
when
then
end
Regards,
--
Charles Moulliard
Apache Committer / Sr. Enterprise Architect (RedHat)
Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20130419/85bd9a62/attachment.html
More information about the rules-users
mailing list