Class SimpleRulesTableBuilder


  • public class SimpleRulesTableBuilder
    extends TableBuilder
    Helper class that allows creating new SimpleRules tables in specified excel sheet.
    Author:
    Pavel Tarasevich
    • Field Detail

      • LOGIC_ELEMENT_HEIGHT

        public static final int LOGIC_ELEMENT_HEIGHT
        Number of rows that usually are used for table logic element. That is conditions title
        See Also:
        Constant Field Values
    • Constructor Detail

      • SimpleRulesTableBuilder

        public SimpleRulesTableBuilder​(XlsSheetGridModel gridModel)
    • Method Detail

      • writeHeader

        public void writeHeader​(String signature,
                                ICellStyle style)
        Writes decision table header.
        Requires the header signature, e.g. void hello1(int hour)
        without Decision table header token Rules
        Overrides:
        writeHeader in class TableBuilder
        Parameters:
        signature - method signature for the table.
        style - header style