[rules-users] Declaring events programmatically
    Samuli Saarinen 
    samuli.saarinen at remion.com
       
    Tue Oct 26 03:07:33 EDT 2010
    
    
  
Hi,
I'm aware of that but was looking for a way to do it using some API. I 
am inserting some objects to the engine and would like to declare them 
as events "automatically" before inserting. I could generate the snippet 
shown in the doc and add it to the knowledge base but was wondering if 
the same thing could be accomplished using existing API.
Cheers,
Samuli
On 26.10.2010 9:51, Greg Barton wrote:
> http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-fusion/html/ch02.html#d0e241
>
> Use type declaration and @role(event)
>
> --- On Tue, 10/26/10, Samuli Saarinen<samuli.saarinen at remion.com>  wrote:
>>
>> I'm looking for a way to declare facts as events using an
>> API. Would
>> anyone happen to know if such an API exists in drools?
>>
>> Cheers,
>>
>> Samuli
-- 
Remion Oy           Etävalvontajärjestelmät liiketoiminnan
Samuli Saarinen           tehostamiseen
gsm +358 (0)50 3560075
fax +358 (0)3 2125064       www.remion.com
    
    
More information about the rules-users
mailing list