Class TRule


  • public class TRule
    extends Object
    This class represents a decision rule
    • Constructor Detail

      • TRule

        public TRule​(TDecision decision)
        This constructor creates a rule
        Parameters:
        decision - the parent decision
    • Method Detail

      • getElement

        public org.flowable.dmn.model.DecisionRule getElement()
        This method returns the decision rule element
        Returns:
        decision rule element
      • addInput

        public TRule addInput​(String condition)
        This method adds an input entry to this rule
        Parameters:
        condition - condition
        Returns:
        this rule builder
      • addOutput

        public TRule addOutput​(String value)
        This method adds an output entry to this rule
        Parameters:
        value - value
        Returns:
        this rule builder
      • addRule

        public TRule addRule()
        This method adds a new rule to the parent decision
        Returns:
        the decision builder