Class IfBlock
java.lang.Object
com.codebarrel.automation.api.component.branch.condition.IfBlock
Object that represents an if/elseif/else block. IfBlock for short.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionIfBlock(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(com.codebarrel.automation.api.config.ComponentConfigBean config, List<com.codebarrel.automation.api.config.ComponentConfigBean> actions) -
Method Summary
Modifier and TypeMethodDescriptionList<com.codebarrel.automation.api.config.ComponentConfigBean> List<com.codebarrel.automation.api.config.ComponentConfigBean> com.codebarrel.automation.api.config.ComponentConfigBeanbooleanmatchCondition(ComponentContext context, ComponentInputs inputs, AuditComponentChangeBuilder audit, RuleComponentProvider ruleComponentProvider)
-
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
-
getActions
-
getConfig
public com.codebarrel.automation.api.config.ComponentConfigBean getConfig()
-