Class DefaultGenerator

  • All Implemented Interfaces:
    Generator

    public class DefaultGenerator
    extends java.lang.Object
    implements Generator
    Generate the rules for a decision table row from a rule template.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void generate​(java.lang.String templateName, Row row)  
      java.lang.String getDrl()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultGenerator

        public DefaultGenerator​(java.util.Map<java.lang.String,​RuleTemplate> t)
    • Method Detail

      • generate

        public void generate​(java.lang.String templateName,
                             Row row)
        Specified by:
        generate in interface Generator
      • getDrl

        public java.lang.String getDrl()
        Specified by:
        getDrl in interface Generator