Class RuleProcessor

java.lang.Object
net.simplace.pipe.control.FWProcessor
net.simplace.pipe.processors.RuleProcessor

public class RuleProcessor extends FWProcessor
Sets parameters of the pipeline from JEXL rules, e.g. intermediate results or the id of the next function (see FWRuleSet). The rules are part of the configuration:
<processor class="net.simplace.pipe.processors.RuleProcessor">
  <configuration>
    <rule target="sim_work.resultpage">
      ${sim_work.simulationcount} eq 1 ? 'sim_work.form.result_variable' : 'sim_work.form.result_simulation'
    </rule>
  </configuration>
</processor>
The rules are evaluated in their order on the in parameters, so later rules see the results of earlier ones; all results are written as out parameters.
Author:
Andreas Enders