]
Kris Verlaenen updated JBRULES-2218:
------------------------------------
Component/s: drools-compiler (expert)
(was: drools-eclipse)
Unknown error while parsing. This is a bug. Please contact the
Development team.
--------------------------------------------------------------------------------
Key: JBRULES-2218
URL:
https://jira.jboss.org/browse/JBRULES-2218
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: drools-compiler (expert)
Affects Versions: 5.0.0.FINAL
Environment: Eclipse 3.5 (Galileo), Mac OS X
Reporter: Udo Klinkmüller
Assignee: Edson Tirelli
Priority: Minor
Fix For: 5.1.0.CR1
rule "Arrival-Delayed-Upd"
salience 1000
when
#conditions
VisitPair( $ov: oldVisit != null, $nv: visit )
$oaf: ArrivalFlight( onBlock == null, $ost: scheduledTime != null, $op: position !=
null ) from $ov.arrivalFlight
$naf: ArrivalFlight( onBlock == null, (($nst: scheduledTime != null, != $ost) || ($np:
position != null, != $op)) ) from $nv.arrivalFlighT
then
#actions
Date vf = addMinutes($nst, 15);
ResourceEvent re =
eventBuilderFactory.getResourceVisitEventBuilder(EventType.ARRIVAL_DELAYED,
$naf.getPositionKey(), vf)
.visitKey($nv.getKey())
.build();
eventHandler.handleEvent(re);
end
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: