[rules-users] AssertBehaviour.IDENTITY on Drools5.0

Shigeaki Wakizaka waki41 at gmail.com
Thu Mar 12 19:58:21 EDT 2009


Hi Edson
Thank you

2009/3/13, Edson Tirelli <tirelli at post.com>:
> http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/conf/KnowledgeBaseConfigurationTest.java
>
> 2009/3/12 Shigeaki Wakizaka <waki41 at gmail.com>
>
>> Hi.
>>
>> I'm just wondering how I can change an assertBehaviour with Drools5.0.
>> Documentation is the same as 4.0 as follows:
>>
>> RuleBaseConfiguration conf = new RuleBaseConfiguration();
>> conf.setAssertBehaviour( AssertBehaviour.IDENTITY );
>> conf.setRemoveIdentities( true );
>> RuleBase ruleBase = RuleBaseFactory.newRuleBase( conf );
>>
>> I may be missing something.
>>
>> Please tell me how, thanks.
>>
>> waki
>>
>>
>> _______________________________________________
>> rules-users mailing list
>> rules-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>
>
>
> --
>  Edson Tirelli
>  JBoss Drools Core Development
>  JBoss, a division of Red Hat @ www.jboss.com
>



More information about the rules-users mailing list