Interface TransitionEvent.Builder

    • Method Detail

      • eventName

        TransitionEvent.Builder eventName​(String eventName)

        The name of the transition event.

        Parameters:
        eventName - The name of the transition event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • condition

        TransitionEvent.Builder condition​(String condition)

        Required. A Boolean expression that when TRUE causes the actions to be performed and the nextState to be entered.

        Parameters:
        condition - Required. A Boolean expression that when TRUE causes the actions to be performed and the nextState to be entered.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • actions

        TransitionEvent.Builder actions​(Collection<Action> actions)

        The actions to be performed.

        Parameters:
        actions - The actions to be performed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • actions

        TransitionEvent.Builder actions​(Action... actions)

        The actions to be performed.

        Parameters:
        actions - The actions to be performed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextState

        TransitionEvent.Builder nextState​(String nextState)

        The next state to enter.

        Parameters:
        nextState - The next state to enter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.