You shouldn't really access the ProcessBuilder directly anymore, we've added
support in the PackageBuilder for that (similar to rules, decision tables,
etc.):
PackageBuilder.addRuleFlow(Reader)
If you want to access ProcessBuilder directly, you can just provide an empty
PackageBuilder, but it seems unlikely that you don't want to add any rules,
as the ruleflows main purpose is to manage the evaluation of rulesets. The
ProcessBuilder requires access to a PackageBuilder as it internally also
uses rules to control the ruleflow process execution.
Kris
----- Original Message -----
From: "hypnosat7" <ablarbi(a)yahoo.fr>
To: <rules-users(a)lists.jboss.org>
Sent: Thursday, July 26, 2007 2:49 PM
Subject: [rules-users] processBuilder constructor
hi,
Why the constructor take a package builder as argument :
ProcessBuilder(PackageBuilder packageBuilder)
isn't necessary to have rules in packageBuilder to add process to a rule
base ?
--
View this message in context:
http://www.nabble.com/processBuilder-constructor-tf4151428.html#a11809817
Sent from the drools - user mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users