Package org.jbpm.process.workitem.riot
Class RiotUtils
- java.lang.Object
-
- org.jbpm.process.workitem.riot.RiotUtils
-
public class RiotUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description RiotUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<net.rithms.riot.api.endpoints.match.dto.MatchReference>geNumberOfPlayedMatches(List<net.rithms.riot.api.endpoints.match.dto.MatchReference> playedMatchesList, int numOfMatches)static net.rithms.riot.api.endpoints.match.dto.MatchReferencegetLatestPlayedMatch(List<net.rithms.riot.api.endpoints.match.dto.MatchReference> playedMatchesList)static net.rithms.riot.constant.PlatformgetPlatform(String summonerPlatform)static List<net.rithms.riot.api.endpoints.match.dto.Match>getPlayedMatches(List<net.rithms.riot.api.endpoints.match.dto.Match> playedMatchesList, int numOfMatches)
-
-
-
Method Detail
-
getPlatform
public static net.rithms.riot.constant.Platform getPlatform(String summonerPlatform) throws IllegalArgumentException
- Throws:
IllegalArgumentException
-
getLatestPlayedMatch
public static net.rithms.riot.api.endpoints.match.dto.MatchReference getLatestPlayedMatch(List<net.rithms.riot.api.endpoints.match.dto.MatchReference> playedMatchesList)
-
geNumberOfPlayedMatches
public static List<net.rithms.riot.api.endpoints.match.dto.MatchReference> geNumberOfPlayedMatches(List<net.rithms.riot.api.endpoints.match.dto.MatchReference> playedMatchesList, int numOfMatches)
-
-