Interface PlayerAccessor.PlayerBuilder<P extends Player<P,?>,B extends PlayerAccessor.PlayerBuilder<P,B>>

  • Type Parameters:
    P - the generic type
    B - The builder to return in order to be able to apply multiple build operations.
    All Known Subinterfaces:
    PlayerAccessor.PlayerPropertyBuilder<P>
    Enclosing interface:
    PlayerAccessor<P extends Player<P,?>>

    public static interface PlayerAccessor.PlayerBuilder<P extends Player<P,?>,B extends PlayerAccessor.PlayerBuilder<P,B>>
    Provides a builder method for a player property returning the builder for applying multiple build operations.
    • Method Detail

      • withPlayer

        B withPlayer​(P aPlayer)
        Sets the player for the player property.
        Parameters:
        aPlayer - The player to be stored by the player property.
        Returns:
        The builder for applying multiple build operations.