java.lang.Object
com.codebarrel.automation.api.component.branch.condition.IfBlock

public class IfBlock extends Object
Object that represents an if/elseif/else block. IfBlock for short.
  • Constructor Details

    • IfBlock

      public IfBlock(com.codebarrel.automation.api.config.ComponentConfigBean config, IfBlock.ConditionMatchType conditionMatchType, List<com.codebarrel.automation.api.config.ComponentConfigBean> conditions, List<com.codebarrel.automation.api.config.ComponentConfigBean> actions)
    • IfBlock

      public IfBlock(com.codebarrel.automation.api.config.ComponentConfigBean config, List<com.codebarrel.automation.api.config.ComponentConfigBean> actions)
  • Method Details

    • matchCondition

      public boolean matchCondition(ComponentContext context, ComponentInputs inputs, AuditComponentChangeBuilder audit, RuleComponentProvider ruleComponentProvider)
    • getConditions

      public List<com.codebarrel.automation.api.config.ComponentConfigBean> getConditions()
    • getActions

      public List<com.codebarrel.automation.api.config.ComponentConfigBean> getActions()
    • getConfig

      public com.codebarrel.automation.api.config.ComponentConfigBean getConfig()