Interface JoinStateInstances


public interface JoinStateInstances
Represents a collection of state instances that are being joined together. JoinStateInstances provides access to multiple state instances that are participating in a join operation, allowing the workflow engine to synchronize multiple parallel execution paths.
Since:
1.0
See Also:
  • Method Details

    • getStates

      Map<String,StateInstance> getStates()
      Gets all state instances in this join as a map keyed by state ID.
      Returns:
      a map of state ID to StateInstance
    • getState

      StateInstance getState(String stateId)
      Gets a specific state instance by its state ID.
      Parameters:
      stateId - the state ID to look up
      Returns:
      the StateInstance for the specified state ID, or null if not found
    • getStateInstances

      Collection<? extends StateInstance> getStateInstances()
      Gets all state instances in this join as a collection.
      Returns:
      a collection of all StateInstance objects in this join