[rules-users] Can someone explain what RulebaseConfiguration.setRemoveIdentities(true) does?
Mark Proctor
mproctor at codehaus.org
Tue Aug 26 13:03:52 EDT 2008
Brett M. Bergquist wrote:
> In the manual, there is an example when setting up to use identity
> assert behavior:
>
> RuleBaseConfiguration conf = new RuleBaseConfiguration();
> conf.setAssertBehaviour( AssertBehaviour.IDENTITY );
> conf.setRemoveIdentities( true );
> RuleBase ruleBase = RuleBaseFactory.newRuleBase( conf );
>
> I need to use AssertBehavior.EQUALITY in one of my RuleBase and I
> don't know if I need to call "conf.setRemoveIdentities" or not. The
> API documentation is very sparse on what this method does.
remove identities is not needed for equality mode - it simply removes
cross product rows that have the same instance in multiple matches for
that row of data.
>
> Thanks in advance.
>
> Brett
>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
More information about the rules-users
mailing list