Package com.totvs.tjf.dmn.model
Class TRule
- java.lang.Object
-
- com.totvs.tjf.dmn.model.TRule
-
public class TRule extends Object
This class represents a decision rule
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TRuleaddInput(String condition)This method adds an input entry to this ruleTRuleaddOutput(String value)This method adds an output entry to this ruleTRuleaddRule()This method adds a new rule to the parent decisionorg.flowable.dmn.model.DecisionRulegetElement()This method returns the decision rule element
-
-
-
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
-
-