Interface ConditionGroup

All Superinterfaces:
CanCopy<Condition>, Condition, HasId<String>, HasParent<Condition,Model<?,?>>, Model<Condition,String>, Validatable

public interface ConditionGroup extends Model<Condition,String>, Condition
Represents a collection of conditions that can be combined using logical operators. Conditions provides a way to group multiple individual conditions and evaluate them together using Boolean (AND; OR) logic.

Conditions are used throughout the workflow to create complex boolean expressions that control workflow behavior. They can be nested to create sophisticated decision trees and business rules.

Since:
1.0
See Also:
  • Method Details

    • withParent

      ConditionGroup withParent(Model<?,?> parent)
      Creates a copy of these conditions with a new parent.
      Specified by:
      withParent in interface HasParent<Condition,Model<?,?>>
      Parameters:
      parent - the new parent for the conditions
      Returns:
      a new Conditions instance with the specified parent
    • copy

      Creates a deep copy of these conditions.
      Specified by:
      copy in interface CanCopy<Condition>
      Returns:
      a new Conditions instance that is a copy of this one
    • getOperator

      Gets the logical operator used to combine the conditions.
      Returns:
      the operator (AND or OR)
    • getConditions

      List<Condition> getConditions()
      Gets all the conditions in this collection.
      Returns:
      a ChildList containing all conditions