Interface ConditionGroupBuilder
public interface ConditionGroupBuilder
Builder interface for creating Conditions instances. This builder provides methods for
configuring workflow conditions using either script-based or alias-based condition definitions.
- Since:
- 1.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault ConditionGroupBuilderaliasCondition(String value) Adds an alias-based condition without arguments to the conditions builder.aliasCondition(String value, Map<String, String> args) Adds an alias-based condition with arguments to the conditions builder.scriptCondition(String scriptType, String scriptContent) Adds a script-based condition to the conditions' builder.
-
Method Details
-
scriptCondition
Adds a script-based condition to the conditions' builder.- Parameters:
scriptType- the script type to usescriptContent- the script condition to add- Returns:
- this builder for method chaining
-
aliasCondition
Adds an alias-based condition with arguments to the conditions builder.- Parameters:
value- the alias value for the conditionargs- the arguments for the condition- Returns:
- this builder for method chaining
-
aliasCondition
Adds an alias-based condition without arguments to the conditions builder.- Parameters:
value- the alias value for the condition- Returns:
- this builder for method chaining
-