<div class="gmail_extra">And the screenshot ;)<br><br><div class="gmail_quote">On 27 April 2012 12:24, Michael Anstis <span dir="ltr"><<a href="mailto:michael.anstis@gmail.com" target="_blank">michael.anstis@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_extra">What version of Guvnor are you using?<br><br>I attach a screenshot produced using 5.4.0.CR1.<br>
<br>I also note your screenshot shows "All ACObeservation" where as mine "There is a TelephoneCall"<br>
<br>Can you describe the steps you have taken, or supply a repository export?<br><br><div class="gmail_quote"><div><div class="h5">On 27 April 2012 12:12, Pellecchia Carolina <span dir="ltr"><<a href="mailto:c.pellecchia@vitrociset.it" target="_blank">c.pellecchia@vitrociset.it</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><br>
Hi Mike,<br>
<br>
I couldn't bind a field because the click on the field doesn't work.<br>
concretely, please see attached.<br>
<br>
<br>
Thank you in advance,<br>
Carolina Pellecchia<br>
<div><br>
<br>
<br>
---------- Forwarded message ----------<br>
From: Michael Anstis <<a href="mailto:michael.anstis@gmail.com" target="_blank">michael.anstis@gmail.com</a><mailto:<a href="mailto:michael.anstis@gmail.com" target="_blank">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>
</div><div>To: Rules Users List <<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><mailto:<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>>><br>
<br>
<br>
Glad to be of assistance.<br>
<br>
To bind a field, once the field has been added to the Fact type simply click on the field name.<br>
<br>
With kind regards,<br>
<br>
Mike<br>
<br>
<br>
</div><div>On 27 April 2012 08:31, Pellecchia Carolina <<a href="mailto:c.pellecchia@vitrociset.it" target="_blank">c.pellecchia@vitrociset.it</a><mailto:<a href="mailto:c.pellecchia@vitrociset.it" target="_blank">c.pellecchia@vitrociset.it</a>>> wrote:<br>
<br>
Hi Mike,<br>
<br>
I’m a colleague of Matteo Cusmai, we would like to thank you for your suggestions. you have been very helpful.<br>
<br>
Following your steps, I couldn't understand a point: how can I bind a field(for ex. RadiationObservation.location) to a variable?<br>
specifically,<br>
<br>
$obs : RadiationObservation(?$obsLocation : location? ) over window:length (1) from entry-point "lowLevelSensorStream"<br>
<br>
<br>
Best regards,<br>
Carolina Pellecchia<br>
________________________________________<br>
</div>Da: <a href="mailto:rules-users-bounces@lists.jboss.org" target="_blank">rules-users-bounces@lists.jboss.org</a><mailto:<a href="mailto:rules-users-bounces@lists.jboss.org" target="_blank">rules-users-bounces@lists.jboss.org</a>> [<a href="mailto:rules-users-bounces@lists.jboss.org" target="_blank">rules-users-bounces@lists.jboss.org</a><mailto:<a href="mailto:rules-users-bounces@lists.jboss.org" target="_blank">rules-users-bounces@lists.jboss.org</a>>] per conto di <a href="mailto:rules-users-request@lists.jboss.org" target="_blank">rules-users-request@lists.jboss.org</a><mailto:<a href="mailto:rules-users-request@lists.jboss.org" target="_blank">rules-users-request@lists.jboss.org</a>> [<a href="mailto:rules-users-request@lists.jboss.org" target="_blank">rules-users-request@lists.jboss.org</a><mailto:<a href="mailto:rules-users-request@lists.jboss.org" target="_blank">rules-users-request@lists.jboss.org</a>>]<br>
<div>Inviato: giovedì 26 aprile 2012 19.07<br>
</div>A: <a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><mailto:<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>><br>
<div>Oggetto: rules-users Digest, Vol 65, Issue 93<br>
<br>
Send rules-users mailing list submissions to<br>
</div> <a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><mailto:<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>><br>
<div><br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
or, via email, send a message with subject or body 'help' to<br>
</div> <a href="mailto:rules-users-request@lists.jboss.org" target="_blank">rules-users-request@lists.jboss.org</a><mailto:<a href="mailto:rules-users-request@lists.jboss.org" target="_blank">rules-users-request@lists.jboss.org</a>><br>
<div><br>
You can reach the person managing the list at<br>
</div> <a href="mailto:rules-users-owner@lists.jboss.org" target="_blank">rules-users-owner@lists.jboss.org</a><mailto:<a href="mailto:rules-users-owner@lists.jboss.org" target="_blank">rules-users-owner@lists.jboss.org</a>><br>
<div><br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of rules-users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
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)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Thu, 26 Apr 2012 15:57:11 +0000<br>
From: "Welsh, Armand" <AWelsh@StateStreet.com><br>
Subject: Re: [rules-users] Setting variables in a stateless session<br>
</div>To: "<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><mailto:<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>>" <<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><mailto:<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>>><br>
Message-ID:<br>
<<a href="mailto:D52DE19B4C463C4BA21F81790B9F079543084863@GDCPW3376.corp.statestr.com" target="_blank">D52DE19B4C463C4BA21F81790B9F079543084863@GDCPW3376.corp.statestr.com</a><mailto:<a href="mailto:D52DE19B4C463C4BA21F81790B9F079543084863@GDCPW3376.corp.statestr.com" target="_blank">D52DE19B4C463C4BA21F81790B9F079543084863@GDCPW3376.corp.statestr.com</a>>><br>
<div>Content-Type: text/plain; charset="us-ascii"<br>
<br>
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.<br>
<br>
<br>
<br>
-----Original Message-----<br>
</div><div>From: <a href="mailto:rules-users-bounces@lists.jboss.org" target="_blank">rules-users-bounces@lists.jboss.org</a><mailto:<a href="mailto:rules-users-bounces@lists.jboss.org" target="_blank">rules-users-bounces@lists.jboss.org</a>> [mailto:<a href="mailto:rules-users-bounces@lists.jboss.org" target="_blank">rules-users-bounces@lists.jboss.org</a><mailto:<a href="mailto:rules-users-bounces@lists.jboss.org" target="_blank">rules-users-bounces@lists.jboss.org</a>>] On Behalf Of bardelman<br>
Sent: Thursday, April 26, 2012 2:06 AM<br>
</div><div>To: <a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><mailto:<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>><br>
Subject: [rules-users] Setting variables in a stateless session<br>
<br>
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..<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Setting-variables-in-a-stateless-session-tp3940652p3940652.html" target="_blank">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>
</div><a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><mailto:<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>><br>
<div><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Thu, 26 Apr 2012 15:52:09 +0100<br>
</div>From: Michael Anstis <<a href="mailto:michael.anstis@gmail.com" target="_blank">michael.anstis@gmail.com</a><mailto:<a href="mailto:michael.anstis@gmail.com" target="_blank">michael.anstis@gmail.com</a>>><br>
<div>Subject: Re: [rules-users] Using GUVNOR for FUSION RULES<br>
</div>To: Rules Users List <<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><mailto:<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>>><br>
Message-ID:<br>
<CAAG9P0tN=HqTJ9hkJHDiQGBk=_<a href="mailto:10o4f810-bQBhbTFwUtO-fEQ@mail.gmail.com" target="_blank">10o4f810-bQBhbTFwUtO-fEQ@mail.gmail.com</a><mailto:<a href="mailto:10o4f810-bQBhbTFwUtO-fEQ@mail.gmail.com" target="_blank">10o4f810-bQBhbTFwUtO-fEQ@mail.gmail.com</a>>><br>
<div><div>Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Sure.<br>
<br>
- Create "New Rule"<br>
<br>
<br>
- Add a condition (green + near "WHEN")<br>
<br>
<br>
- Select "From Entry Point"<br>
<br>
<br>
- Type "lowLevelSensorStream" into TextBox<br>
<br>
<br>
- Click on "click to add patterns..."<br>
<br>
<br>
- Select your Fact Type (see * below)<br>
<br>
<br>
- In "Over sliding window" ListBox select "Length"<br>
<br>
<br>
- Type "1" into the TextBox next to "Length".<br>
<br>
* OK, so this is possibly where you're having problems.<br>
<br>
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:-<br>
<br>
*If you have a Declarative Model<br>
*<br>
<br>
- Open the Declarative Model<br>
<br>
<br>
- Select the Fact Type that should be an Event<br>
<br>
<br>
- Add an Annotation, name="role", key="value", value="event"<br>
<br>
<br>
- Save<br>
<br>
<br>
*If you have a POJO Model*<br>
<br>
- Create a new Declarative Model<br>
<br>
<br>
- Add a Fact Type that matches the name of that in your JAR<br>
<br>
<br>
- Add an Annotation, name="role", key="value", value="event"<br>
<br>
<br>
- Save<br>
<br>
<br>
Annotating your POJO is covered in the Drools Expert User Guide. You are<br>
just using Guvnor to achieve what is required.<br>
<br>
With kind regards,<br>
<br>
Mike<br>
<br>
</div></div><div>On 26 April 2012 15:22, Matteo Cusmai <<a href="mailto:cusmaimatteo@gmail.com" target="_blank">cusmaimatteo@gmail.com</a><mailto:<a href="mailto:cusmaimatteo@gmail.com" target="_blank">cusmaimatteo@gmail.com</a>>> wrote:<br>
<br>
> 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>
</div>> On Thu, Apr 26, 2012 at 11:32 AM, Michael Anstis <<a href="mailto:michael.anstis@gmail.com" target="_blank">michael.anstis@gmail.com</a><mailto:<a href="mailto:michael.anstis@gmail.com" target="_blank">michael.anstis@gmail.com</a>><br>
<div>> > 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>
</div><div><div>>> On 26 April 2012 09:08, Matteo Cusmai <<a href="mailto:cusmaimatteo@gmail.com" target="_blank">cusmaimatteo@gmail.com</a><mailto:<a href="mailto:cusmaimatteo@gmail.com" target="_blank">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>
</div></div>>>> <a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><mailto:<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>><br>
<div>>>> <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
>>><br>
>>><br>
>><br>
>> _______________________________________________<br>
>> rules-users mailing list<br>
</div>>> <a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><mailto:<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>><br>
<div>>> <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
>><br>
>><br>
><br>
> _______________________________________________<br>
> rules-users mailing list<br>
</div>> <a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><mailto:<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>><br>
<div>> <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">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" target="_blank">http://lists.jboss.org/pipermail/rules-users/attachments/20120426/31ab515e/attachment-0001.html</a><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Thu, 26 Apr 2012 14:40:27 +0100<br>
</div>From: Michael Anstis <<a href="mailto:michael.anstis@gmail.com" target="_blank">michael.anstis@gmail.com</a><mailto:<a href="mailto:michael.anstis@gmail.com" target="_blank">michael.anstis@gmail.com</a>>><br>
<div>Subject: Re: [rules-users] Guvnor guided editor and non argument<br>
constructor<br>
</div>To: Rules Users List <<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><mailto:<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>>><br>
Message-ID:<br>
<CAAG9P0tnkU2nLzXduz03si26uL-wFtRAA=<a href="mailto:0ogGAF05OJEZ4dGw@mail.gmail.com" target="_blank">0ogGAF05OJEZ4dGw@mail.gmail.com</a><mailto:<a href="mailto:0ogGAF05OJEZ4dGw@mail.gmail.com" target="_blank">0ogGAF05OJEZ4dGw@mail.gmail.com</a>>><br>
<div>Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Seems reasonable enough.<br>
<br>
</div><div>On 26 April 2012 14:36, Sean Su <<a href="mailto:sean.x.su@gmail.com" target="_blank">sean.x.su@gmail.com</a><mailto:<a href="mailto:sean.x.su@gmail.com" target="_blank">sean.x.su@gmail.com</a>>> wrote:<br>
<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.<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>
</div>> <a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><mailto:<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>><br>
<div>> <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">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" target="_blank">http://lists.jboss.org/pipermail/rules-users/attachments/20120426/75a0a7a7/attachment-0001.html</a><br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Thu, 26 Apr 2012 11:42:41 -0500<br>
</div>From: Bobby Richards <<a href="mailto:bobby.richards@gmail.com" target="_blank">bobby.richards@gmail.com</a><mailto:<a href="mailto:bobby.richards@gmail.com" target="_blank">bobby.richards@gmail.com</a>>><br>
<div>Subject: [rules-users] looking for advice<br>
</div>To: <a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><mailto:<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>><br>
Message-ID:<br>
<CAAqkdrv7Nv1WMByZsd+XM=<a href="mailto:OZvetnEOFk03x7QaTGyNc6wAbccQ@mail.gmail.com" target="_blank">OZvetnEOFk03x7QaTGyNc6wAbccQ@mail.gmail.com</a><mailto:<a href="mailto:OZvetnEOFk03x7QaTGyNc6wAbccQ@mail.gmail.com" target="_blank">OZvetnEOFk03x7QaTGyNc6wAbccQ@mail.gmail.com</a>>><br>
<div><div>Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
I have not yet determined how I want to implement my problem and was hoping<br>
to get some feedback.<br>
<br>
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.<br>
<br>
This includes range values (high, low, average) for multiple time periods,<br>
volatility information, bid/ask updates etc.<br>
<br>
Currently I have classes associated for each, so say for range:<br>
<br>
class Range {<br>
double high;<br>
double low;<br>
double avg;<br>
}<br>
<br>
Range europe = new Range(); //european trading hours<br>
Range us = new Range(); //us trading hours<br>
<br>
<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.<br>
<br>
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'?<br>
<br>
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" target="_blank">http://lists.jboss.org/pipermail/rules-users/attachments/20120426/2b86c5f5/attachment-0001.html</a><br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Thu, 26 Apr 2012 18:48:37 +0200 (CEST)<br>
</div></div>From: Vincent LEGENDRE <<a href="mailto:vincent.legendre@eurodecision.com" target="_blank">vincent.legendre@eurodecision.com</a><mailto:<a href="mailto:vincent.legendre@eurodecision.com" target="_blank">vincent.legendre@eurodecision.com</a>>><br>
<div>Subject: Re: [rules-users] Guvnor guided editor and non argument<br>
constructor<br>
</div>To: Rules Users List <<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><mailto:<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>>><br>
Message-ID:<br>
<<a href="mailto:1c470056-3677-4bd2-a1eb-368610b51999@confiance.eurodecision.fr" target="_blank">1c470056-3677-4bd2-a1eb-368610b51999@confiance.eurodecision.fr</a><mailto:<a href="mailto:1c470056-3677-4bd2-a1eb-368610b51999@confiance.eurodecision.fr" target="_blank">1c470056-3677-4bd2-a1eb-368610b51999@confiance.eurodecision.fr</a>>><br>
<div>Content-Type: text/plain; charset="utf-8"<br>
<br>
JavaBeans convention : all default constructible and plenty of setters (for writeable properties) and getters (for readeable properties)<br>
<br>
----- Mail original -----<br>
<br>
</div>De: "Michael Anstis" <<a href="mailto:michael.anstis@gmail.com" target="_blank">michael.anstis@gmail.com</a><mailto:<a href="mailto:michael.anstis@gmail.com" target="_blank">michael.anstis@gmail.com</a>>><br>
?: "Rules Users List" <<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><mailto:<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>>><br>
<div>Envoy?: Jeudi 26 Avril 2012 15:40:27<br>
Objet: Re: [rules-users] Guvnor guided editor and non argument constructor<br>
<br>
<br>
Seems reasonable enough.<br>
<br>
<br>
</div><div>On 26 April 2012 14:36, Sean Su < <a href="mailto:sean.x.su@gmail.com" target="_blank">sean.x.su@gmail.com</a><mailto:<a href="mailto:sean.x.su@gmail.com" target="_blank">sean.x.su@gmail.com</a>> > wrote:<br>
<br>
<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.<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>
</div><a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><mailto:<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>><br>
<div><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
rules-users mailing list<br>
</div><a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><mailto:<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>><br>
<div><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">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/29fa9844/attachment-0001.html" target="_blank">http://lists.jboss.org/pipermail/rules-users/attachments/20120426/29fa9844/attachment-0001.html</a><br>
<br>
------------------------------<br>
<br>
Message: 6<br>
Date: Thu, 26 Apr 2012 13:06:57 -0400<br>
</div>From: Sean Su <<a href="mailto:sean.x.su@gmail.com" target="_blank">sean.x.su@gmail.com</a><mailto:<a href="mailto:sean.x.su@gmail.com" target="_blank">sean.x.su@gmail.com</a>>><br>
<div>Subject: Re: [rules-users] Guvnor guided editor and non argument<br>
constructor<br>
</div>To: Rules Users List <<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><mailto:<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>>><br>
<div>Message-ID: <-6645870489207221519@unknownmsgid><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
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.<br>
<br>
So I am trying to avoid setters if possible.<br>
<br>
Sean<br>
<br>
Sent from my iPad<br>
<br>
On Apr 26, 2012, at 12:49 PM, Vincent LEGENDRE <<br>
</div><div><a href="mailto:vincent.legendre@eurodecision.com" target="_blank">vincent.legendre@eurodecision.com</a><mailto:<a href="mailto:vincent.legendre@eurodecision.com" target="_blank">vincent.legendre@eurodecision.com</a>>> wrote:<br>
<br>
JavaBeans convention : all default constructible and plenty of setters (for<br>
writeable properties) and getters (for readeable properties)<br>
<br>
------------------------------<br>
</div>*De: *"Michael Anstis" <<a href="mailto:michael.anstis@gmail.com" target="_blank">michael.anstis@gmail.com</a><mailto:<a href="mailto:michael.anstis@gmail.com" target="_blank">michael.anstis@gmail.com</a>>><br>
*?: *"Rules Users List" <<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><mailto:<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>>><br>
<div>*Envoy?: *Jeudi 26 Avril 2012 15:40:27<br>
*Objet: *Re: [rules-users] Guvnor guided editor and non argument constructor<br>
<br>
Seems reasonable enough.<br>
<br>
</div><div>On 26 April 2012 14:36, Sean Su <<a href="mailto:sean.x.su@gmail.com" target="_blank">sean.x.su@gmail.com</a><mailto:<a href="mailto:sean.x.su@gmail.com" target="_blank">sean.x.su@gmail.com</a>>> wrote:<br>
<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.<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>
</div>> <a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><mailto:<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>><br>
<div>> <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
><br>
<br>
<br>
_______________________________________________<br>
rules-users mailing list<br>
</div><a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><mailto:<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>><br>
<div><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br>
_______________________________________________<br>
rules-users mailing list<br>
</div><a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><mailto:<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>><br>
<div><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">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" target="_blank">http://lists.jboss.org/pipermail/rules-users/attachments/20120426/26a2bdaa/attachment.html</a><br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
rules-users mailing list<br>
</div><a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><mailto:<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>><br>
<div><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br>
<br>
End of rules-users Digest, Vol 65, Issue 93<br>
*******************************************<br>
<br>
_______________________________________________<br>
rules-users mailing list<br>
</div><a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><mailto:<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>><br>
<div><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br>
<br>
_______________________________________________<br>
rules-users mailing list<br>
</div><a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><mailto:<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">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" target="_blank">rules-users@lists.jboss.org</a><br>
</div></div><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>