The "declare" keyword is used to declaratively define a model rather than use a JAR file containing the same.
It is documented in Experts' documentation "4.7 Type Declaration".
With kind regards,
Mike
I am trying to use Guvnor with an existing model. I am having class
dependency issues even though I have created a jar with dependencies.
I noticed that the demo package seems to have its model declared in some
non-java way like so:
declare LoanApplication
amount: Integer
approved: Boolean
...
end
Is the use of this format discussed somewhere?
Are there any other alternatives to building a jar with full dependencies?--
View this message in context: http://drools.46999.n3.nabble.com/Format-of-model-for-guvnor-tp2878374p2878374.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users