Interface ITeamHandler

All Known Implementing Classes:
DatabaseHandler, RestHandler

public interface ITeamHandler
See Also:
  • Method Details

    • getPlayersByTeam

      Map<String,List<String>> getPlayersByTeam()
      Get all the players sorted by team code
      Returns:
      Map<String, List<String>> with team code as key and player usernames as value
    • getTeamNamesByTeam

      Map<String,String> getTeamNamesByTeam()
      Get all the team names sorted by team code
      Returns:
      Map<String, String> with team code as key and team name as value
    • getScores

      Map<String,Integer> getScores()
      Get all the team scores sorted by team code
      Returns:
      Map<String, Integer> with team code as key and team score as value
    • setScores

      void setScores(Map<String,Integer> scores)
      Set all the team scores
      Parameters:
      scores - Map<String, Integer> with team code as key and team score as value