<p><font size="3" face="Times New Roman">
</font></p><p style="margin:0cm 0cm 10pt" class="MsoNormal"><span style="line-height:115%;font-family:"Cambria","serif";font-size:12pt" lang="EN-US">Good morning
Mike,</span></p><p><font size="3" face="Times New Roman">
</font><span style="line-height:115%;font-family:"Cambria","serif";font-size:12pt" lang="EN-US">thanks for
suggestion, but I'd not use drl to write my rules.</span></p><p><font size="3" face="Times New Roman">
</font><span style="line-height:115%;font-family:"Cambria","serif";font-size:12pt" lang="EN-US">I have one
other question,</span></p><p><font size="3" face="Times New Roman">
</font><span style="line-height:115%;font-family:"Cambria","serif";font-size:12pt" lang="EN-US">Can I invoke a
static method, with input parameters, without drl? </span></p><p><font size="3" face="Times New Roman">
</font><span style="line-height:115%;font-family:"Cambria","serif";font-size:12pt" lang="EN-US">specifically,
I'd like to do this</span></p><p><font size="3" face="Times New Roman">
</font><span style="color:red;line-height:115%;font-family:"Cambria","serif";font-size:12pt" lang="EN-US">insert(
SituationManager.createAccessControlEvent( $obs, "Access Control
Detection", Event.THREAT_NO, $location, $sensor));</span></p><p><font size="3" face="Times New Roman">
</font><span style="line-height:115%;font-family:"Cambria","serif";font-size:12pt" lang="EN-US">Any help would
be much appreciated.<span style> </span></span></p><p><font size="3" face="Times New Roman">
</font><span style="line-height:115%;font-family:"Cambria","serif";font-size:12pt" lang="EN-US">With kind
regards,</span></p><p style="margin:0cm 0cm 10pt" class="MsoNormal"><span style="line-height:115%;font-family:"Cambria","serif";font-size:12pt" lang="EN-US">Carolina
Pellecchia</span></p><p><font size="3" face="Times New Roman">
</font><br>________________________________________<br>Da: <a href="mailto:rules-users-bounces@lists.jboss.org">rules-users-bounces@lists.jboss.org</a> [<a href="mailto:rules-users-bounces@lists.jboss.org">rules-users-bounces@lists.jboss.org</a>] per conto di Michael Anstis [<a href="mailto:michael.anstis@gmail.com">michael.anstis@gmail.com</a>]<br>
Inviato: venerdì 27 aprile 2012 17.55<br>A: Rules Users List<br>Oggetto: Re: [rules-users] R: Using GUVNOR for FUSION RULES</p><p>Hi,</p><p>You'll have to use the "Add free-form DRL" action.</p><p>With kind regards,</p>
<p>Mike</p><p>On 27 April 2012 16:46, Pellecchia Carolina <<a href="mailto:c.pellecchia@vitrociset.it<mailto:c.pellecchia@vitrociset.it">c.pellecchia@vitrociset.it<mailto:c.pellecchia@vitrociset.it</a>>> wrote:<br>
Hi Mike,</p><p>the issue has been solved by updating the version from 5.3.0 to 5.4.0.CR1.</p><p>I have one other question,</p><p>How can I create an instance of type without default constructor?<br>otherwise<br>how can I invoke a constructor with parameters?</p>
<p>specifically,<br>6. | then<br>7. | AccessControlEvent fact0 = new AccessControlEvent(?$obsh?,? "Access Control Detection"?);</p><p><br>Thanks a lot in advance,<br>Carolina Pellecchia<br>
________________________________________<br>Da: <a href="mailto:rules-users-bounces@lists.jboss.org<mailto:rules-users-bounces@lists.jboss.org">rules-users-bounces@lists.jboss.org<mailto:rules-users-bounces@lists.jboss.org</a>> [<a href="mailto:rules-users-bounces@lists.jboss.org">rules-users-bounces@lists.jboss.org</a><<a href="mailto:rules-users-bounces@lists.jboss.org">mailto:rules-users-bounces@lists.jboss.org</a>>] per conto di Michael Anstis [<a href="mailto:michael.anstis@gmail.com">michael.anstis@gmail.com</a><<a href="mailto:michael.anstis@gmail.com">mailto:michael.anstis@gmail.com</a>>]<br>
Inviato: venerdì 27 aprile 2012 13.25<br>A: Rules Users List<br>Oggetto: Re: [rules-users] Using GUVNOR for FUSION RULES</p><p>And the screenshot ;)</p><p>On 27 April 2012 12:24, Michael Anstis <<a href="mailto:michael.anstis@gmail.com<mailto:michael.anstis@gmail.com><mailto:michael.anstis@gmail.com<mailto:michael.anstis@gmail.com">michael.anstis@gmail.com<mailto:michael.anstis@gmail.com><mailto:michael.anstis@gmail.com<mailto:michael.anstis@gmail.com</a>>>> wrote:<br>
What version of Guvnor are you using?</p><p>I attach a screenshot produced using 5.4.0.CR1.</p><p>I also note your screenshot shows "All ACObeservation" where as mine "There is a TelephoneCall"</p><p>Can you describe the steps you have taken, or supply a repository export?</p>
<p>On 27 April 2012 12:12, Pellecchia Carolina <<a href="mailto:c.pellecchia@vitrociset.it<mailto:c.pellecchia@vitrociset.it><mailto:c.pellecchia@vitrociset.it<mailto:c.pellecchia@vitrociset.it">c.pellecchia@vitrociset.it<mailto:c.pellecchia@vitrociset.it><mailto:c.pellecchia@vitrociset.it<mailto:c.pellecchia@vitrociset.it</a>>>> wrote:</p>
<p>Hi Mike,</p><p>I couldn't bind a field because the click on the field doesn't work.<br>concretely, please see attached.</p><p><br>Thank you in advance,<br>Carolina Pellecchia</p><p> </p><p>---------- Forwarded message ----------<br>
From: Michael Anstis <<a href="mailto:michael.anstis@gmail.com<mailto:michael.anstis@gmail.com><mailto:michael.anstis@gmail.com<mailto:michael.anstis@gmail.com>><mailto:michael.anstis@gmail.com<mailto:michael.anstis@gmail.com><mailto:michael.anstis@gmail.com<mailto:michael.anstis@gmail.com">michael.anstis@gmail.com<mailto:michael.anstis@gmail.com><mailto:michael.anstis@gmail.com<mailto:michael.anstis@gmail.com>><mailto:michael.anstis@gmail.com<mailto:michael.anstis@gmail.com><mailto:michael.anstis@gmail.com<mailto:michael.anstis@gmail.com</a>>>>><br>
Date: Fri, Apr 27, 2012 at 11:26 AM<br>Subject: Re: [rules-users] Using GUVNOR for FUSION RULES<br>To: Rules Users List <<a href="mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org</a>>>>></p>
<p><br>Glad to be of assistance.</p><p>To bind a field, once the field has been added to the Fact type simply click on the field name.</p><p>With kind regards,</p><p>Mike</p><p><br>On 27 April 2012 08:31, Pellecchia Carolina <<a href="mailto:c.pellecchia@vitrociset.it<mailto:c.pellecchia@vitrociset.it><mailto:c.pellecchia@vitrociset.it<mailto:c.pellecchia@vitrociset.it>><mailto:c.pellecchia@vitrociset.it<mailto:c.pellecchia@vitrociset.it><mailto:c.pellecchia@vitrociset.it<mailto:c.pellecchia@vitrociset.it">c.pellecchia@vitrociset.it<mailto:c.pellecchia@vitrociset.it><mailto:c.pellecchia@vitrociset.it<mailto:c.pellecchia@vitrociset.it>><mailto:c.pellecchia@vitrociset.it<mailto:c.pellecchia@vitrociset.it><mailto:c.pellecchia@vitrociset.it<mailto:c.pellecchia@vitrociset.it</a>>>>> wrote:</p>
<p>Hi Mike,</p><p>I’m a colleague of Matteo Cusmai, we would like to thank you for your suggestions. you have been very helpful.</p><p>Following your steps, I couldn't understand a point: how can I bind a field(for ex. RadiationObservation.location) to a variable?<br>
specifically,</p><p> $obs : RadiationObservation(?$obsLocation : location? ) over window:length (1) from entry-point "lowLevelSensorStream"</p><p><br>Best regards,<br>Carolina Pellecchia<br>________________________________________<br>
Da: <a href="mailto:rules-users-bounces@lists.jboss.org<mailto:rules-users-bounces@lists.jboss.org><mailto:rules-users-bounces@lists.jboss.org<mailto:rules-users-bounces@lists.jboss.org>><mailto:rules-users-bounces@lists.jboss.org<mailto:rules-users-bounces@lists.jboss.org><mailto:rules-users-bounces@lists.jboss.org<mailto:rules-users-bounces@lists.jboss.org">rules-users-bounces@lists.jboss.org<mailto:rules-users-bounces@lists.jboss.org><mailto:rules-users-bounces@lists.jboss.org<mailto:rules-users-bounces@lists.jboss.org>><mailto:rules-users-bounces@lists.jboss.org<mailto:rules-users-bounces@lists.jboss.org><mailto:rules-users-bounces@lists.jboss.org<mailto:rules-users-bounces@lists.jboss.org</a>>>> [<a href="mailto:rules-users-bounces@lists.jboss.org">rules-users-bounces@lists.jboss.org</a><<a href="mailto:rules-users-bounces@lists.jboss.org><mailto:rules-users-bounces@lists.jboss.org<mailto:rules-users-bounces@lists.jboss.org>><mailto:rules-users-bounces@lists.jboss.org<mailto:rules-users-bounces@lists.jboss.org><mailto:rules-users-bounces@lists.jboss.org<mailto:rules-users-bounces@lists.jboss.org">mailto:rules-users-bounces@lists.jboss.org><mailto:rules-users-bounces@lists.jboss.org<mailto:rules-users-bounces@lists.jboss.org>><mailto:rules-users-bounces@lists.jboss.org<mailto:rules-users-bounces@lists.jboss.org><mailto:rules-users-bounces@lists.jboss.org<mailto:rules-users-bounces@lists.jboss.org</a>>>>] per conto di <a href="mailto:rules-users-request@lists.jboss.org<mailto:rules-users-request@lists.jboss.org><mailto:rules-users-request@lists.jboss.org<mailto:rules-users-request@lists.jboss.org>><mailto:rules-users-request@lists.jboss.org<mailto:rules-users-request@lists.jboss.org><mailto:rules-users-request@lists.jboss.org<mailto:rules-users-request@lists.jboss.org">rules-users-request@lists.jboss.org<mailto:rules-users-request@lists.jboss.org><mailto:rules-users-request@lists.jboss.org<mailto:rules-users-request@lists.jboss.org>><mailto:rules-users-request@lists.jboss.org<mailto:rules-users-request@lists.jboss.org><mailto:rules-users-request@lists.jboss.org<mailto:rules-users-request@lists.jboss.org</a>>>> [<a href="mailto:rules-users-request@lists.jboss.org">rules-users-request@lists.jboss.org</a><<a href="mailto:rules-users-request@lists.jboss.org><mailto:rules-users-request@lists.jboss.org<mailto:rules-users-request@lists.jboss.org>><mailto:rules-users-request@lists.jboss.org<mailto:rules-users-request@lists.jboss.org><mailto:rules-users-request@lists.jboss.org<mailto:rules-users-request@lists.jboss.org">mailto:rules-users-request@lists.jboss.org><mailto:rules-users-request@lists.jboss.org<mailto:rules-users-request@lists.jboss.org>><mailto:rules-users-request@lists.jboss.org<mailto:rules-users-request@lists.jboss.org><mailto:rules-users-request@lists.jboss.org<mailto:rules-users-request@lists.jboss.org</a>>>>]<br>
Inviato: giovedì 26 aprile 2012 19.07<br>A: <a href="mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org</a>>>><br>
Oggetto: rules-users Digest, Vol 65, Issue 93</p><p>Send rules-users mailing list submissions to<br> <a href="mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org</a>>>></p>
<p>To subscribe or unsubscribe via the World Wide Web, visit<br> <a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:rules-users-request@lists.jboss.org<mailto:rules-users-request@lists.jboss.org><mailto:rules-users-request@lists.jboss.org<mailto:rules-users-request@lists.jboss.org>><mailto:rules-users-request@lists.jboss.org<mailto:rules-users-request@lists.jboss.org><mailto:rules-users-request@lists.jboss.org<mailto:rules-users-request@lists.jboss.org">rules-users-request@lists.jboss.org<mailto:rules-users-request@lists.jboss.org><mailto:rules-users-request@lists.jboss.org<mailto:rules-users-request@lists.jboss.org>><mailto:rules-users-request@lists.jboss.org<mailto:rules-users-request@lists.jboss.org><mailto:rules-users-request@lists.jboss.org<mailto:rules-users-request@lists.jboss.org</a>>>></p>
<p>You can reach the person managing the list at<br> <a href="mailto:rules-users-owner@lists.jboss.org<mailto:rules-users-owner@lists.jboss.org><mailto:rules-users-owner@lists.jboss.org<mailto:rules-users-owner@lists.jboss.org>><mailto:rules-users-owner@lists.jboss.org<mailto:rules-users-owner@lists.jboss.org><mailto:rules-users-owner@lists.jboss.org<mailto:rules-users-owner@lists.jboss.org">rules-users-owner@lists.jboss.org<mailto:rules-users-owner@lists.jboss.org><mailto:rules-users-owner@lists.jboss.org<mailto:rules-users-owner@lists.jboss.org>><mailto:rules-users-owner@lists.jboss.org<mailto:rules-users-owner@lists.jboss.org><mailto:rules-users-owner@lists.jboss.org<mailto:rules-users-owner@lists.jboss.org</a>>>></p>
<p>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of rules-users digest..."</p><p><br>Today's Topics:</p><p> 1. Re: Setting variables in a stateless session (Welsh, Armand)<br>
2. Re: Using GUVNOR for FUSION RULES (Michael Anstis)<br> 3. Re: Guvnor guided editor and non argument constructor<br> (Michael Anstis)<br> 4. looking for advice (Bobby Richards)<br> 5. Re: Guvnor guided editor and non argument constructor<br>
(Vincent LEGENDRE)<br> 6. Re: Guvnor guided editor and non argument constructor (Sean Su)</p><p><br>----------------------------------------------------------------------</p><p>Message: 1<br>Date: Thu, 26 Apr 2012 15:57:11 +0000<br>
From: "Welsh, Armand" <<a href="mailto:AWelsh@StateStreet.com">AWelsh@StateStreet.com</a>><br>Subject: Re: [rules-users] Setting variables in a stateless session<br>To: "<a href="mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org</a>>>>" <<a href="mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org</a>>>>><br>
Message-ID:<br> <<a href="mailto:D52DE19B4C463C4BA21F81790B9F079543084863@GDCPW3376.corp.statestr.com<mailto:D52DE19B4C463C4BA21F81790B9F079543084863@GDCPW3376.corp.statestr.com><mailto:D52DE19B4C463C4BA21F81790B9F079543084863@GDCPW3376.corp.statestr.com<mailto:D52DE19B4C463C4BA21F81790B9F079543084863@GDCPW3376.corp.statestr.com>><mailto:D52DE19B4C463C4BA21F81790B9F079543084863@GDCPW3376.corp.statestr.com<mailto:D52DE19B4C463C4BA21F81790B9F079543084863@GDCPW3376.corp.statestr.com><mailto:D52DE19B4C463C4BA21F81790B9F079543084863@GDCPW3376.corp.statestr.com<mailto:D52DE19B4C463C4BA21F81790B9F079543084863@GDCPW3376.corp.statestr.com">D52DE19B4C463C4BA21F81790B9F079543084863@GDCPW3376.corp.statestr.com<mailto:D52DE19B4C463C4BA21F81790B9F079543084863@GDCPW3376.corp.statestr.com><mailto:D52DE19B4C463C4BA21F81790B9F079543084863@GDCPW3376.corp.statestr.com<mailto:D52DE19B4C463C4BA21F81790B9F079543084863@GDCPW3376.corp.statestr.com>><mailto:D52DE19B4C463C4BA21F81790B9F079543084863@GDCPW3376.corp.statestr.com<mailto:D52DE19B4C463C4BA21F81790B9F079543084863@GDCPW3376.corp.statestr.com><mailto:D52DE19B4C463C4BA21F81790B9F079543084863@GDCPW3376.corp.statestr.com<mailto:D52DE19B4C463C4BA21F81790B9F079543084863@GDCPW3376.corp.statestr.com</a>>>>><br>
Content-Type: text/plain; charset="us-ascii"</p><p>Think of a stateless knowledge session as being a statefull knowledge session, with the following adjustments:<br>A stateless knowledge session cannot be manipulated prior the start of the session.<br>
A stateless knowledge session cannot be manipulated or queried after the end of the session.<br>A stateless session begins when you execute the fireallrules method.<br>A stateless session ends when the rule processing terminates. -- There is no pause, there is no restarting. The instant the rules stop firing, and return to your calling code, the knowledge session has been torn down.</p>
<p> </p><p>-----Original Message-----<br>From: <a href="mailto:rules-users-bounces@lists.jboss.org<mailto:rules-users-bounces@lists.jboss.org><mailto:rules-users-bounces@lists.jboss.org<mailto:rules-users-bounces@lists.jboss.org>><mailto:rules-users-bounces@lists.jboss.org<mailto:rules-users-bounces@lists.jboss.org><mailto:rules-users-bounces@lists.jboss.org<mailto:rules-users-bounces@lists.jboss.org">rules-users-bounces@lists.jboss.org<mailto:rules-users-bounces@lists.jboss.org><mailto:rules-users-bounces@lists.jboss.org<mailto:rules-users-bounces@lists.jboss.org>><mailto:rules-users-bounces@lists.jboss.org<mailto:rules-users-bounces@lists.jboss.org><mailto:rules-users-bounces@lists.jboss.org<mailto:rules-users-bounces@lists.jboss.org</a>>>> [mailto:<a href="mailto:rules-users-bounces@lists.jboss.org">rules-users-bounces@lists.jboss.org</a><<a href="mailto:rules-users-bounces@lists.jboss.org><mailto:rules-users-bounces@lists.jboss.org<mailto:rules-users-bounces@lists.jboss.org>><mailto:rules-users-bounces@lists.jboss.org<mailto:rules-users-bounces@lists.jboss.org><mailto:rules-users-bounces@lists.jboss.org<mailto:rules-users-bounces@lists.jboss.org">mailto:rules-users-bounces@lists.jboss.org><mailto:rules-users-bounces@lists.jboss.org<mailto:rules-users-bounces@lists.jboss.org>><mailto:rules-users-bounces@lists.jboss.org<mailto:rules-users-bounces@lists.jboss.org><mailto:rules-users-bounces@lists.jboss.org<mailto:rules-users-bounces@lists.jboss.org</a>>>>] On Behalf Of bardelman<br>
Sent: Thursday, April 26, 2012 2:06 AM<br>To: <a href="mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org</a>>>><br>
Subject: [rules-users] Setting variables in a stateless session</p><p>hi folks, this is a simple question ,<br>i just want to understand how is it possible that a stateless session have a<br>setGlobal() method as it does not maintain a state. What's the point ?!<br>
i also have some confusion between a "request scope" and a "stateless<br>session scope" i think it s the same..</p><p><br>--<br>View this message in context: <a href="http://drools.46999.n3.nabble.com/Setting-variables-in-a-stateless-session-tp3940652p3940652.html">http://drools.46999.n3.nabble.com/Setting-variables-in-a-stateless-session-tp3940652p3940652.html</a><br>
Sent from the Drools: User forum mailing list archive at Nabble.com.<br>_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org</a>>>><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a></p><p> </p><p>------------------------------</p><p>Message: 2<br>Date: Thu, 26 Apr 2012 15:52:09 +0100<br>
From: Michael Anstis <<a href="mailto:michael.anstis@gmail.com<mailto:michael.anstis@gmail.com><mailto:michael.anstis@gmail.com<mailto:michael.anstis@gmail.com>><mailto:michael.anstis@gmail.com<mailto:michael.anstis@gmail.com><mailto:michael.anstis@gmail.com<mailto:michael.anstis@gmail.com">michael.anstis@gmail.com<mailto:michael.anstis@gmail.com><mailto:michael.anstis@gmail.com<mailto:michael.anstis@gmail.com>><mailto:michael.anstis@gmail.com<mailto:michael.anstis@gmail.com><mailto:michael.anstis@gmail.com<mailto:michael.anstis@gmail.com</a>>>>><br>
Subject: Re: [rules-users] Using GUVNOR for FUSION RULES<br>To: Rules Users List <<a href="mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org</a>>>>><br>
Message-ID:<br> <<a href="mailto:CAAG9P0tN=HqTJ9hkJHDiQGBk=_10o4f810-bQBhbTFwUtO-fEQ@mail.gmail.com<mailto:10o4f810-bQBhbTFwUtO-fEQ@mail.gmail.com><mailto:10o4f810-bQBhbTFwUtO-fEQ@mail.gmail.com<mailto:10o4f810-bQBhbTFwUtO-fEQ@mail.gmail.com>><mailto:10o4f810-bQBhbTFwUtO-fEQ@mail.gmail.com<mailto:10o4f810-bQBhbTFwUtO-fEQ@mail.gmail.com><mailto:10o4f810-bQBhbTFwUtO-fEQ@mail.gmail.com<mailto:10o4f810-bQBhbTFwUtO-fEQ@mail.gmail.com">CAAG9P0tN=HqTJ9hkJHDiQGBk=_10o4f810-bQBhbTFwUtO-fEQ@mail.gmail.com<mailto:10o4f810-bQBhbTFwUtO-fEQ@mail.gmail.com><mailto:10o4f810-bQBhbTFwUtO-fEQ@mail.gmail.com<mailto:10o4f810-bQBhbTFwUtO-fEQ@mail.gmail.com>><mailto:10o4f810-bQBhbTFwUtO-fEQ@mail.gmail.com<mailto:10o4f810-bQBhbTFwUtO-fEQ@mail.gmail.com><mailto:10o4f810-bQBhbTFwUtO-fEQ@mail.gmail.com<mailto:10o4f810-bQBhbTFwUtO-fEQ@mail.gmail.com</a>>>>><br>
Content-Type: text/plain; charset="iso-8859-1"</p><p>Sure.</p><p> - Create "New Rule"</p><p><br> - Add a condition (green + near "WHEN")</p><p><br> - Select "From Entry Point"</p><p>
<br> - Type "lowLevelSensorStream" into TextBox</p><p><br> - Click on "click to add patterns..."</p><p><br> - Select your Fact Type (see * below)</p><p><br> - In "Over sliding window" ListBox select "Length"</p>
<p><br> - Type "1" into the TextBox next to "Length".</p><p>* OK, so this is possibly where you're having problems.</p><p>In order for a Fact Type to be used with CEP it needs to be annotated as an<br>
Event. This is how this can be accomplished:-</p><p>*If you have a Declarative Model<br>*</p><p> - Open the Declarative Model</p><p><br> - Select the Fact Type that should be an Event</p><p><br> - Add an Annotation, name="role", key="value", value="event"</p>
<p><br> - Save</p><p><br>*If you have a POJO Model*</p><p> - Create a new Declarative Model</p><p><br> - Add a Fact Type that matches the name of that in your JAR</p><p><br> - Add an Annotation, name="role", key="value", value="event"</p>
<p><br> - Save</p><p><br>Annotating your POJO is covered in the Drools Expert User Guide. You are<br>just using Guvnor to achieve what is required.</p><p>With kind regards,</p><p>Mike</p><p>On 26 April 2012 15:22, Matteo Cusmai <<a href="mailto:cusmaimatteo@gmail.com<mailto:cusmaimatteo@gmail.com><mailto:cusmaimatteo@gmail.com<mailto:cusmaimatteo@gmail.com>><mailto:cusmaimatteo@gmail.com<mailto:cusmaimatteo@gmail.com><mailto:cusmaimatteo@gmail.com<mailto:cusmaimatteo@gmail.com">cusmaimatteo@gmail.com<mailto:cusmaimatteo@gmail.com><mailto:cusmaimatteo@gmail.com<mailto:cusmaimatteo@gmail.com>><mailto:cusmaimatteo@gmail.com<mailto:cusmaimatteo@gmail.com><mailto:cusmaimatteo@gmail.com<mailto:cusmaimatteo@gmail.com</a>>>>> wrote:</p>
<p>> Hi Mike,<br>> thanks for suggestion, but i have already read documentation.<br>><br>> First of all, i cannot define "over window:length(1) from entry-point<br>> lowLevelSensorStream".<br>> Do you help me to do this?<br>
><br>> Best Regards,<br>> Matteo.<br>><br>><br>><br>> On Thu, Apr 26, 2012 at 11:32 AM, Michael Anstis <<a href="mailto:michael.anstis@gmail.com<mailto:michael.anstis@gmail.com><mailto:michael.anstis@gmail.com<mailto:michael.anstis@gmail.com>><mailto:michael.anstis@gmail.com<mailto:michael.anstis@gmail.com><mailto:michael.anstis@gmail.com<mailto:michael.anstis@gmail.com">michael.anstis@gmail.com<mailto:michael.anstis@gmail.com><mailto:michael.anstis@gmail.com<mailto:michael.anstis@gmail.com>><mailto:michael.anstis@gmail.com<mailto:michael.anstis@gmail.com><mailto:michael.anstis@gmail.com<mailto:michael.anstis@gmail.com</a>>>><br>
> > wrote:<br>><br>>> Yes this is possible with Guvnor 5.2 onwards.<br>>><br>>> The user-guide explains how to use the Guided Rule Editor (but not<br>>> specifically CEP features).<br>>><br>
>> Read that and give it a try - it's reasonably intuitive (not an excuse<br>>> for poor documentation though) and come back here with questions.<br>>><br>>> With kind regards,<br>>><br>>> Mike<br>
>><br>>> On 26 April 2012 09:08, Matteo Cusmai <<a href="mailto:cusmaimatteo@gmail.com<mailto:cusmaimatteo@gmail.com><mailto:cusmaimatteo@gmail.com<mailto:cusmaimatteo@gmail.com>><mailto:cusmaimatteo@gmail.com<mailto:cusmaimatteo@gmail.com><mailto:cusmaimatteo@gmail.com<mailto:cusmaimatteo@gmail.com">cusmaimatteo@gmail.com<mailto:cusmaimatteo@gmail.com><mailto:cusmaimatteo@gmail.com<mailto:cusmaimatteo@gmail.com>><mailto:cusmaimatteo@gmail.com<mailto:cusmaimatteo@gmail.com><mailto:cusmaimatteo@gmail.com<mailto:cusmaimatteo@gmail.com</a>>>>> wrote:<br>
>><br>>>> Hi all,<br>>>> i am novice on GUVNOR, but i would like to define my fusion rules by<br>>>> graphical tool.<br>>>><br>>>> An example of my rules is:<br>>>><br>
>>> rule "radiation-event"<br>>>> salience 10<br>>>> no-loop<br>>>> when<br>>>> $obs : RadiationObservation( $obsLocation : location, value ><br>
>>> 10 ) over window:length(1) from entry-point lowLevelSensorStream<br>>>> not RadiationEvent( this meets[ 25s ] $obs, location<br>>>> geoIsWithinDistance[ 5m ] $obsLocation )<br>>>> then<br>
>>> insert(new RadiationEvent( $obs, "Radiation over 10",<br>>>> Event.THREAT_HIGH, $obsLocation, $obs.getSensor() ));<br>>>> end<br>>>><br>>>> rule "radiation-update"<br>
>>> salience 5<br>>>> no-loop<br>>>> when<br>>>> $obs : RadiationObservation( $obsLocation : location, value ><br>>>> 10 ) over window:length(1) from entry-point lowLevelSensorStream<br>
>>> $event : RadiationEvent( this meets[ 25s ] $obs, location<br>>>> geoIsWithinDistance[ 5m ] $obsLocation )<br>>>> then<br>>>> Event e = Event.clone($event);<br>
>>> e.addObservation($obs);<br>>>> insert( e );<br>>>> retract($event);<br>>>> retract($obs);<br>>>> end<br>>>><br>>>> Is it possibile to define rules such the above using GUVNOR?<br>
>>> Are there some documentation or tutorial?<br>>>><br>>>> Thanks a lot in advance,<br>>>> Matteo Cusmai.<br>>>><br>>>> _______________________________________________<br>
>>> rules-users mailing list<br>>>> <a href="mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org</a>>>><br>
>>> <a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>>>><br>>>><br>>><br>>> _______________________________________________<br>
>> rules-users mailing list<br>>> <a href="mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org</a>>>><br>
>> <a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>>><br>>><br>><br>> _______________________________________________<br>> rules-users mailing list<br>
> <a href="mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org</a>>>><br>
> <a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>><br>><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.jboss.org/pipermail/rules-users/attachments/20120426/31ab515e/attachment-0001.html">http://lists.jboss.org/pipermail/rules-users/attachments/20120426/31ab515e/attachment-0001.html</a></p><p>------------------------------</p>
<p>Message: 3<br>Date: Thu, 26 Apr 2012 14:40:27 +0100<br>From: Michael Anstis <<a href="mailto:michael.anstis@gmail.com<mailto:michael.anstis@gmail.com><mailto:michael.anstis@gmail.com<mailto:michael.anstis@gmail.com>><mailto:michael.anstis@gmail.com<mailto:michael.anstis@gmail.com><mailto:michael.anstis@gmail.com<mailto:michael.anstis@gmail.com">michael.anstis@gmail.com<mailto:michael.anstis@gmail.com><mailto:michael.anstis@gmail.com<mailto:michael.anstis@gmail.com>><mailto:michael.anstis@gmail.com<mailto:michael.anstis@gmail.com><mailto:michael.anstis@gmail.com<mailto:michael.anstis@gmail.com</a>>>>><br>
Subject: Re: [rules-users] Guvnor guided editor and non argument<br> constructor<br>To: Rules Users List <<a href="mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org</a>>>>><br>
Message-ID:<br> <<a href="mailto:CAAG9P0tnkU2nLzXduz03si26uL-wFtRAA=0ogGAF05OJEZ4dGw@mail.gmail.com<mailto:0ogGAF05OJEZ4dGw@mail.gmail.com><mailto:0ogGAF05OJEZ4dGw@mail.gmail.com<mailto:0ogGAF05OJEZ4dGw@mail.gmail.com>><mailto:0ogGAF05OJEZ4dGw@mail.gmail.com<mailto:0ogGAF05OJEZ4dGw@mail.gmail.com><mailto:0ogGAF05OJEZ4dGw@mail.gmail.com<mailto:0ogGAF05OJEZ4dGw@mail.gmail.com">CAAG9P0tnkU2nLzXduz03si26uL-wFtRAA=0ogGAF05OJEZ4dGw@mail.gmail.com<mailto:0ogGAF05OJEZ4dGw@mail.gmail.com><mailto:0ogGAF05OJEZ4dGw@mail.gmail.com<mailto:0ogGAF05OJEZ4dGw@mail.gmail.com>><mailto:0ogGAF05OJEZ4dGw@mail.gmail.com<mailto:0ogGAF05OJEZ4dGw@mail.gmail.com><mailto:0ogGAF05OJEZ4dGw@mail.gmail.com<mailto:0ogGAF05OJEZ4dGw@mail.gmail.com</a>>>>><br>
Content-Type: text/plain; charset="iso-8859-1"</p><p>Seems reasonable enough.</p><p>On 26 April 2012 14:36, Sean Su <<a href="mailto:sean.x.su@gmail.com<mailto:sean.x.su@gmail.com><mailto:sean.x.su@gmail.com<mailto:sean.x.su@gmail.com>><mailto:sean.x.su@gmail.com<mailto:sean.x.su@gmail.com><mailto:sean.x.su@gmail.com<mailto:sean.x.su@gmail.com">sean.x.su@gmail.com<mailto:sean.x.su@gmail.com><mailto:sean.x.su@gmail.com<mailto:sean.x.su@gmail.com>><mailto:sean.x.su@gmail.com<mailto:sean.x.su@gmail.com><mailto:sean.x.su@gmail.com<mailto:sean.x.su@gmail.com</a>>>>> wrote:</p>
<p>> It seems that the new fact created by the guided editor must be from<br>> the java class that has the default non argument constructor in<br>> Guvnor. There seems no way we can customize it to pass arguments in.<br>
> This would force us to provide setters to the object.<br>><br>> Is this a true statement?<br>><br>> Thanks<br>><br>> Sean<br>><br>> Sent from my iPad<br>> _______________________________________________<br>
> rules-users mailing list<br>> <a href="mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org</a>>>><br>
> <a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <a href="http://lists.jboss.org/pipermail/rules-users/attachments/20120426/75a0a7a7/attachment-0001.html">http://lists.jboss.org/pipermail/rules-users/attachments/20120426/75a0a7a7/attachment-0001.html</a></p>
<p>------------------------------</p><p>Message: 4<br>Date: Thu, 26 Apr 2012 11:42:41 -0500<br>From: Bobby Richards <<a href="mailto:bobby.richards@gmail.com<mailto:bobby.richards@gmail.com><mailto:bobby.richards@gmail.com<mailto:bobby.richards@gmail.com>><mailto:bobby.richards@gmail.com<mailto:bobby.richards@gmail.com><mailto:bobby.richards@gmail.com<mailto:bobby.richards@gmail.com">bobby.richards@gmail.com<mailto:bobby.richards@gmail.com><mailto:bobby.richards@gmail.com<mailto:bobby.richards@gmail.com>><mailto:bobby.richards@gmail.com<mailto:bobby.richards@gmail.com><mailto:bobby.richards@gmail.com<mailto:bobby.richards@gmail.com</a>>>>><br>
Subject: [rules-users] looking for advice<br>To: <a href="mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org</a>>>><br>
Message-ID:<br> <<a href="mailto:CAAqkdrv7Nv1WMByZsd+XM=OZvetnEOFk03x7QaTGyNc6wAbccQ@mail.gmail.com<mailto:OZvetnEOFk03x7QaTGyNc6wAbccQ@mail.gmail.com><mailto:OZvetnEOFk03x7QaTGyNc6wAbccQ@mail.gmail.com<mailto:OZvetnEOFk03x7QaTGyNc6wAbccQ@mail.gmail.com>><mailto:OZvetnEOFk03x7QaTGyNc6wAbccQ@mail.gmail.com<mailto:OZvetnEOFk03x7QaTGyNc6wAbccQ@mail.gmail.com><mailto:OZvetnEOFk03x7QaTGyNc6wAbccQ@mail.gmail.com<mailto:OZvetnEOFk03x7QaTGyNc6wAbccQ@mail.gmail.com">CAAqkdrv7Nv1WMByZsd+XM=OZvetnEOFk03x7QaTGyNc6wAbccQ@mail.gmail.com<mailto:OZvetnEOFk03x7QaTGyNc6wAbccQ@mail.gmail.com><mailto:OZvetnEOFk03x7QaTGyNc6wAbccQ@mail.gmail.com<mailto:OZvetnEOFk03x7QaTGyNc6wAbccQ@mail.gmail.com>><mailto:OZvetnEOFk03x7QaTGyNc6wAbccQ@mail.gmail.com<mailto:OZvetnEOFk03x7QaTGyNc6wAbccQ@mail.gmail.com><mailto:OZvetnEOFk03x7QaTGyNc6wAbccQ@mail.gmail.com<mailto:OZvetnEOFk03x7QaTGyNc6wAbccQ@mail.gmail.com</a>>>>><br>
Content-Type: text/plain; charset="iso-8859-1"</p><p>I have not yet determined how I want to implement my problem and was hoping<br>to get some feedback.</p><p>I am using drools to migrate the logic from my automated currency trading<br>
infrastructure. Each currency pair, i.e. eurusd has around<br>200 attributes associated with it.</p><p>This includes range values (high, low, average) for multiple time periods,<br>volatility information, bid/ask updates etc.</p>
<p>Currently I have classes associated for each, so say for range:</p><p>class Range {<br> double high;<br> double low;<br> double avg;<br>}</p><p>Range europe = new Range(); //european trading hours<br>Range us = new Range(); //us trading hours</p>
<p><br>Questions:<br>1. I am wondering if I should not just create a map that lists every<br>attribute per pair as a key ("eurusd:range:europe:high")? So essentially<br>my drools session will have one fact, not counting the incoming quotes. I<br>
see on the list that this was a problem before the mvel updates but that<br>was a while ago.</p><p>2. When an incoming quote might modify a value, what is the performance<br>difference between using a rule to change the value or making the changes<br>
outside of the ksession and referencing the facthandler to modify? Is one<br>method considered 'cleaner'?</p><p>Thanks,<br>Bobby<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.jboss.org/pipermail/rules-users/attachments/20120426/2b86c5f5/attachment-0001.html">http://lists.jboss.org/pipermail/rules-users/attachments/20120426/2b86c5f5/attachment-0001.html</a></p><p>------------------------------</p>
<p>Message: 5<br>Date: Thu, 26 Apr 2012 18:48:37 +0200 (CEST)<br>From: Vincent LEGENDRE <<a href="mailto:vincent.legendre@eurodecision.com<mailto:vincent.legendre@eurodecision.com><mailto:vincent.legendre@eurodecision.com<mailto:vincent.legendre@eurodecision.com>><mailto:vincent.legendre@eurodecision.com<mailto:vincent.legendre@eurodecision.com><mailto:vincent.legendre@eurodecision.com<mailto:vincent.legendre@eurodecision.com">vincent.legendre@eurodecision.com<mailto:vincent.legendre@eurodecision.com><mailto:vincent.legendre@eurodecision.com<mailto:vincent.legendre@eurodecision.com>><mailto:vincent.legendre@eurodecision.com<mailto:vincent.legendre@eurodecision.com><mailto:vincent.legendre@eurodecision.com<mailto:vincent.legendre@eurodecision.com</a>>>>><br>
Subject: Re: [rules-users] Guvnor guided editor and non argument<br> constructor<br>To: Rules Users List <<a href="mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org</a>>>>><br>
Message-ID:<br> <<a href="mailto:1c470056-3677-4bd2-a1eb-368610b51999@confiance.eurodecision.fr<mailto:1c470056-3677-4bd2-a1eb-368610b51999@confiance.eurodecision.fr><mailto:1c470056-3677-4bd2-a1eb-368610b51999@confiance.eurodecision.fr<mailto:1c470056-3677-4bd2-a1eb-368610b51999@confiance.eurodecision.fr>><mailto:1c470056-3677-4bd2-a1eb-368610b51999@confiance.eurodecision.fr<mailto:1c470056-3677-4bd2-a1eb-368610b51999@confiance.eurodecision.fr><mailto:1c470056-3677-4bd2-a1eb-368610b51999@confiance.eurodecision.fr<mailto:1c470056-3677-4bd2-a1eb-368610b51999@confiance.eurodecision.fr">1c470056-3677-4bd2-a1eb-368610b51999@confiance.eurodecision.fr<mailto:1c470056-3677-4bd2-a1eb-368610b51999@confiance.eurodecision.fr><mailto:1c470056-3677-4bd2-a1eb-368610b51999@confiance.eurodecision.fr<mailto:1c470056-3677-4bd2-a1eb-368610b51999@confiance.eurodecision.fr>><mailto:1c470056-3677-4bd2-a1eb-368610b51999@confiance.eurodecision.fr<mailto:1c470056-3677-4bd2-a1eb-368610b51999@confiance.eurodecision.fr><mailto:1c470056-3677-4bd2-a1eb-368610b51999@confiance.eurodecision.fr<mailto:1c470056-3677-4bd2-a1eb-368610b51999@confiance.eurodecision.fr</a>>>>><br>
Content-Type: text/plain; charset="utf-8"</p><p>JavaBeans convention : all default constructible and plenty of setters (for writeable properties) and getters (for readeable properties)</p><p>----- Mail original -----</p>
<p>De: "Michael Anstis" <<a href="mailto:michael.anstis@gmail.com<mailto:michael.anstis@gmail.com><mailto:michael.anstis@gmail.com<mailto:michael.anstis@gmail.com>><mailto:michael.anstis@gmail.com<mailto:michael.anstis@gmail.com><mailto:michael.anstis@gmail.com<mailto:michael.anstis@gmail.com">michael.anstis@gmail.com<mailto:michael.anstis@gmail.com><mailto:michael.anstis@gmail.com<mailto:michael.anstis@gmail.com>><mailto:michael.anstis@gmail.com<mailto:michael.anstis@gmail.com><mailto:michael.anstis@gmail.com<mailto:michael.anstis@gmail.com</a>>>>><br>
?: "Rules Users List" <<a href="mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org</a>>>>><br>
Envoy?: Jeudi 26 Avril 2012 15:40:27<br>Objet: Re: [rules-users] Guvnor guided editor and non argument constructor</p><p><br>Seems reasonable enough.</p><p><br>On 26 April 2012 14:36, Sean Su < <a href="mailto:sean.x.su@gmail.com<mailto:sean.x.su@gmail.com><mailto:sean.x.su@gmail.com<mailto:sean.x.su@gmail.com>><mailto:sean.x.su@gmail.com<mailto:sean.x.su@gmail.com><mailto:sean.x.su@gmail.com<mailto:sean.x.su@gmail.com">sean.x.su@gmail.com<mailto:sean.x.su@gmail.com><mailto:sean.x.su@gmail.com<mailto:sean.x.su@gmail.com>><mailto:sean.x.su@gmail.com<mailto:sean.x.su@gmail.com><mailto:sean.x.su@gmail.com<mailto:sean.x.su@gmail.com</a>>>> > wrote:</p>
<p><br>It seems that the new fact created by the guided editor must be from<br>the java class that has the default non argument constructor in<br>Guvnor. There seems no way we can customize it to pass arguments in.<br>This would force us to provide setters to the object.</p>
<p>Is this a true statement?</p><p>Thanks</p><p>Sean</p><p>Sent from my iPad<br>_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org</a>>>><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a></p><p> </p><p><br>_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org</a>>>><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a></p><p>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <a href="http://lists.jboss.org/pipermail/rules-users/attachments/20120426/29fa9844/attachment-0001.html">http://lists.jboss.org/pipermail/rules-users/attachments/20120426/29fa9844/attachment-0001.html</a></p>
<p>------------------------------</p><p>Message: 6<br>Date: Thu, 26 Apr 2012 13:06:57 -0400<br>From: Sean Su <<a href="mailto:sean.x.su@gmail.com<mailto:sean.x.su@gmail.com><mailto:sean.x.su@gmail.com<mailto:sean.x.su@gmail.com>><mailto:sean.x.su@gmail.com<mailto:sean.x.su@gmail.com><mailto:sean.x.su@gmail.com<mailto:sean.x.su@gmail.com">sean.x.su@gmail.com<mailto:sean.x.su@gmail.com><mailto:sean.x.su@gmail.com<mailto:sean.x.su@gmail.com>><mailto:sean.x.su@gmail.com<mailto:sean.x.su@gmail.com><mailto:sean.x.su@gmail.com<mailto:sean.x.su@gmail.com</a>>>>><br>
Subject: Re: [rules-users] Guvnor guided editor and non argument<br> constructor<br>To: Rules Users List <<a href="mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org</a>>>>><br>
Message-ID: <<a href="mailto:-6645870489207221519@unknownmsgid">-6645870489207221519@unknownmsgid</a>><br>Content-Type: text/plain; charset="iso-8859-1"</p><p>What I am prototyping is part of the event processing (with or without<br>
fusion). I want to use the rules created by the Guvnor to create the new<br>events. However, as you would understand, once the event has been created,<br>it should not be modified as it happened in the past.</p><p>So I am trying to avoid setters if possible.</p>
<p>Sean</p><p>Sent from my iPad</p><p>On Apr 26, 2012, at 12:49 PM, Vincent LEGENDRE <<br><a href="mailto:vincent.legendre@eurodecision.com<mailto:vincent.legendre@eurodecision.com><mailto:vincent.legendre@eurodecision.com<mailto:vincent.legendre@eurodecision.com>><mailto:vincent.legendre@eurodecision.com<mailto:vincent.legendre@eurodecision.com><mailto:vincent.legendre@eurodecision.com<mailto:vincent.legendre@eurodecision.com">vincent.legendre@eurodecision.com<mailto:vincent.legendre@eurodecision.com><mailto:vincent.legendre@eurodecision.com<mailto:vincent.legendre@eurodecision.com>><mailto:vincent.legendre@eurodecision.com<mailto:vincent.legendre@eurodecision.com><mailto:vincent.legendre@eurodecision.com<mailto:vincent.legendre@eurodecision.com</a>>>>> wrote:</p>
<p>JavaBeans convention : all default constructible and plenty of setters (for<br>writeable properties) and getters (for readeable properties)</p><p>------------------------------<br>*De: *"Michael Anstis" <<a href="mailto:michael.anstis@gmail.com<mailto:michael.anstis@gmail.com><mailto:michael.anstis@gmail.com<mailto:michael.anstis@gmail.com>><mailto:michael.anstis@gmail.com<mailto:michael.anstis@gmail.com><mailto:michael.anstis@gmail.com<mailto:michael.anstis@gmail.com">michael.anstis@gmail.com<mailto:michael.anstis@gmail.com><mailto:michael.anstis@gmail.com<mailto:michael.anstis@gmail.com>><mailto:michael.anstis@gmail.com<mailto:michael.anstis@gmail.com><mailto:michael.anstis@gmail.com<mailto:michael.anstis@gmail.com</a>>>>><br>
*?: *"Rules Users List" <<a href="mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org</a>>>>><br>
*Envoy?: *Jeudi 26 Avril 2012 15:40:27<br>*Objet: *Re: [rules-users] Guvnor guided editor and non argument constructor</p><p>Seems reasonable enough.</p><p>On 26 April 2012 14:36, Sean Su <<a href="mailto:sean.x.su@gmail.com<mailto:sean.x.su@gmail.com><mailto:sean.x.su@gmail.com<mailto:sean.x.su@gmail.com>><mailto:sean.x.su@gmail.com<mailto:sean.x.su@gmail.com><mailto:sean.x.su@gmail.com<mailto:sean.x.su@gmail.com">sean.x.su@gmail.com<mailto:sean.x.su@gmail.com><mailto:sean.x.su@gmail.com<mailto:sean.x.su@gmail.com>><mailto:sean.x.su@gmail.com<mailto:sean.x.su@gmail.com><mailto:sean.x.su@gmail.com<mailto:sean.x.su@gmail.com</a>>>>> wrote:</p>
<p>> It seems that the new fact created by the guided editor must be from<br>> the java class that has the default non argument constructor in<br>> Guvnor. There seems no way we can customize it to pass arguments in.<br>
> This would force us to provide setters to the object.<br>><br>> Is this a true statement?<br>><br>> Thanks<br>><br>> Sean<br>><br>> Sent from my iPad<br>> _______________________________________________<br>
> rules-users mailing list<br>> <a href="mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org</a>>>><br>
> <a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>></p><p><br>_______________________________________________<br>rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org</a>>>><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a></p><p>_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org</a>>>><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <a href="http://lists.jboss.org/pipermail/rules-users/attachments/20120426/26a2bdaa/attachment.html">http://lists.jboss.org/pipermail/rules-users/attachments/20120426/26a2bdaa/attachment.html</a></p>
<p>------------------------------</p><p>_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org</a>>>><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a></p><p><br>End of rules-users Digest, Vol 65, Issue 93<br>*******************************************</p>
<p>_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org</a>>>><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a></p><p><br>_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org</a>>>><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a></p><p> </p><p>_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org><mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org</a>>><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a></p><p> </p><p><br>_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org</a>><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a></p><p> </p>