Interface ConditionsBuilder


public interface ConditionsBuilder
Builder interface for creating Conditions instances. This builder provides methods for configuring workflow conditions using either script-based or alias-based condition definitions.

This builder is typically used as part of conditional result builders and transition builders to define the conditions that must be met for certain workflow paths to be taken.

Since:
1.0
See Also:
  • Method Details

    • scriptCondition

      ConditionsBuilder scriptCondition(String scriptType, String scriptContent)
      Adds a script-based condition to the conditions' builder.
      Parameters:
      scriptType - the script type to use
      scriptContent - the script condition to add
      Returns:
      this builder for method chaining
    • aliasCondition

      ConditionsBuilder aliasCondition(String value, Map<String,String> args)
      Adds an alias-based condition with arguments to the conditions builder.
      Parameters:
      value - the alias value for the condition
      args - the arguments for the condition
      Returns:
      this builder for method chaining
    • aliasCondition

      default ConditionsBuilder aliasCondition(String value)
      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