Interface TransitionAware<SELF>

Type Parameters:
SELF - the type of the implementing class (for fluent API support)
All Known Subinterfaces:
DefaultResult, Function

public interface TransitionAware<SELF>
Interface for model elements that are aware of their transition. TransitionAware provides a fluent API for setting the transition ID of a model element, typically used in workflow state transitions and updates.
Since:
1.0
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Sets the transition ID for this element and returns the updated instance.
  • Method Details

    • withTransitionId

      SELF withTransitionId(TransitionId transitionId)
      Sets the transition ID for this element and returns the updated instance.
      Parameters:
      transitionId - the transition ID representing the associated transition
      Returns:
      the updated instance with the new transition ID