Hi,

as the hc tool progresses I think it's time to talk about the API and its
intend.

I had a brief look at the Java API and I'm a little bit confused.

I asume the RulesEngine is an OSGi service which is entended to run rules -
wouldn't it be better to give the set of rules to evaluate in the
evaluation method? Right now, it seems one has to add all available rules
through this API and can then later on filter during execution.

The SystemAttribute tages an slf4j logger when getting a value which again
looks strange to me.

What are the various arguments of the RuleBuilder#buildRule method used for?

Right now a Rule object also holds an evaluator and an expression. I think
a rule should just be a data object and the rule (or the expression?)
should be passed into an evaluator.

Just some starting questions to find out how this API is intended to be
used.

Thanks
Carsten
-- 
Carsten Ziegeler
[email protected]

Reply via email to