Package io.github.cobas91.lol.client
Class LeagueOfLegendsClientBuilder
java.lang.Object
io.github.cobas91.lol.client.LeagueOfLegendsClientBuilder
The LeagueOfLegendsClientBuilder class is responsible for building instances of LeagueOfLegendsClient.
It provides methods to configure the ChampionDownloader and SummonerDownloader objects used by the client.
The API token is also set using the withSummonerDownloader method.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Sets the ChampionDownloader with the specified language.Sets the MatchDownloader object for the LeagueOfLegendsClientBuilder.The LeagueOfLegendsClientBuilder class is responsible for building instances of LeagueOfLegendsClient.
-
Method Details
-
withSummonerDownloader
The LeagueOfLegendsClientBuilder class is responsible for building instances of LeagueOfLegendsClient. It provides methods to configure the ChampionDownloader and SummonerDownloader objects used by the client. The API token is also set using the withSummonerDownloader method. -
withChampionDownloader
Sets the ChampionDownloader with the specified language.- Returns:
- The LeagueOfLegendsClientBuilder object with the ChampionDownloader set.
-
withMatchDownloader
Sets the MatchDownloader object for the LeagueOfLegendsClientBuilder.- Returns:
- The LeagueOfLegendsClientBuilder object with the MatchDownloader set.
-
build
-