Interface StateAccessor.StateBuilder<S,B extends StateAccessor.StateBuilder<S,B>>

  • Type Parameters:
    S - The type of the state to be used.
    B - The builder to return in order to be able to apply multiple build operations.
    Enclosing interface:
    StateAccessor<S>

    public static interface StateAccessor.StateBuilder<S,B extends StateAccessor.StateBuilder<S,B>>
    Provides a builder method for a state property returning the builder for applying multiple build operations.
    • Method Detail

      • withState

        B withState​(S aState)
        Sets the state for the state property.
        Parameters:
        aState - The state to be stored by the state property.
        Returns:
        The builder for applying multiple build operations.