It is a Java/Joda language file that is used to read and apply restrictions to XML.
For example inside a Drule/drool (not actually sure on the spelling they are .drl files you will have various sections like
Code:
rule "EX Modified"
salience 600
when
AbstractRulesEngineRequest(aggregatorName == "#####")
$broker : Broker(brokerName == broker)
Vehicle(modified == true)
then
logger.info("**** Rejecting due to modifications ****");
$broker.setInclude(false);
retract($broker);
end
The Aggname will only move to enxt line if AggName was #####, then broker is assigned to a variable $broker and only moves on if the broker is in the "broker" global (an xml file as follows)
Code:
<globals>
<global name="broker">
<string>whoever</string>
<string>whoever2</string>
</global>
</globals>
this then looks up some information retracted from XML and stored into transformers and if the value of this XML tag is true, moves to the THEN.
this removes the broker form the quote, removes the broker from the list of activer brokers amd Prints out an error/decline message. if there was 10 of these rules in 1 file, i would want something maybe XLST or maybe it would have to be Java/Joda to take the rule"" line and logger.info line. The drl file (built into a jar file) outputs into xml ready to be passed around and passed through more Drule/drool files