Interface.RuleMethods
|
Java, Groovy, Python and TypeScript |
ide.Java.Interface.RuleMethods = true | false (default=false)
In the case of very large decision tables with many rules and many actions in the rules, the "execute" method in the generated rules engine can become too large and e.g. cause a compile error under Java "The code of method … is exceeding the 65535 bytes limit".
This generation parameter solves the problem by "outsourcing" the rules in the generated rules engine to separate methods.
Entry in an LFET.Project.ini-file:
ide.Java.Interface.RuleMethods = true
Entry in an LFET.Project.yaml-file:
ide.Java:
Enabled: true
Interface:
RuleMethods: true