Api changes from drools 5.0.1 to 6.0.1??
by techy_bolek
We are upgrading our application from drools 5.0.1 to drools 6.0.1 Final. I
noticed there are significant API changes. Many classes that used to be in
org.drools appear to be now in org.drools.core. Also, some classes appear to
be gone: DebugRuleFlowEventListener, RuleAgent.
My question is: is there a documentation somewhere explaining the API
differences between the two versions?
If there is no such documentation - can anyone advise what to do about
DebugRuleFlowEventListener and RuleAgent?
Thanks, Thomas
--
View this message in context: http://drools.46999.n3.nabble.com/Api-changes-from-drools-5-0-1-to-6-0-1-...
Sent from the Drools: User forum mailing list archive at Nabble.com.
10 years, 3 months
FW: Need to create condition based on current date and time, start date and time, and duration
by Arocho, Vance A (CTR)
To be a little clearer, the current date and time needs to be within the time interval specified by the start date and time and the 'start date and time + duration', something like
start-datetime <= current-datetime <= start-datetime + duration
But I'm not sure how to express the above properly. Can this be done with just one condition, or will I need two conditions?
From: Arocho, Vance A (CTR)
Sent: Tuesday, July 29, 2014 12:31 PM
To: 'rules-users(a)lists.jboss.org'
Subject: Need to create condition based on current date and time, start date and time, and duration
I'm using Drools 5.4, and am developing an Excel spreadsheet containing a decision table that requires another condition based on
* The current date and time specified as an attribute on a Java object
* The start date and duration of an event that are both specified within the spreadsheet (duration should be specified in hours)
Is there a way to do this?
10 years, 3 months