Interface TeamHandler


public interface TeamHandler
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull Team
    Registers a new team by a builder.
    @Nullable Team
    team(@NotNull String name)
    Gets a team by the name.
    void
    unregister(@NotNull Team team)
    Unregisters a team.
  • Method Details

    • register

      @NotNull @NotNull Team register(@NotNull Team.Builder builder)
      Registers a new team by a builder.
      Parameters:
      builder - the team builder to register
      Returns:
      the new created team
      Since:
      1.0.0
    • team

      @Nullable @Nullable Team team(@NotNull @NotNull String name)
      Gets a team by the name.
      Parameters:
      name - the name of the team
      Returns:
      the team or null
      Since:
      1.0.0
    • unregister

      void unregister(@NotNull @NotNull Team team)
      Unregisters a team.
      Parameters:
      team - the team to unregister
      Since:
      1.0.0