Interface Join

All Superinterfaces:
CanCopy<Join>, HasId<JoinId>, HasParent<Join,WorkflowDefinition>, Model<Join,JoinId>, Validatable

public interface Join extends Model<Join,JoinId>, HasParent<Join,WorkflowDefinition>
Represents a join operation in a workflow definition. A join is a mechanism that synchronizes multiple parallel workflow paths by waiting for all incoming active states to complete their transitions before activating the resulting state.
Since:
1.0
See Also:
  • Method Details

    • getConditions

      ConditionGroup getConditions()
      Returns the conditions associated with this join. These conditions determine when the join should be triggered and what criteria must be met for the join to complete successfully.
      Returns:
      the conditions for this join
    • getResult

      DefaultResult getResult()
      Returns the default result of this join. The result specifies the destination state and any additional processing to be performed when the join completes.
      Returns:
      the default result of this join
    • toBuilder

      Creates a new join builder initialized with the current join definition. This method allows for easy modification of existing join definitions by providing a builder that starts with the current state of the join.
      Returns:
      a new BuildableJoinBuilder initialized with this join's current state
      See Also: