Package org.jbpm.process.workitem.riot
Class LastSummonerMatchWorkitemHandler
- java.lang.Object
-
- org.jbpm.process.workitem.core.AbstractLogOrThrowWorkItemHandler
-
- org.jbpm.process.workitem.riot.LastSummonerMatchWorkitemHandler
-
- All Implemented Interfaces:
org.kie.api.runtime.process.WorkItemHandler
@Wid(widfile="RiotSummonerLastMatch.wid",name="RiotSummonerLastMatch",displayName="RiotSummonerLastMatch",defaultHandler="mvel: new org.jbpm.process.workitem.riot.LastSummonerMatchWorkitemHandler(\"apiKey\")",documentation="riot-workitem/index.html",category="riot-workitem",icon="RiotSummonerLastMatch.png",parameters={@WidParameter(name="SummonerName",required=true),@WidParameter(name="SummonerPlatform")},results=@WidResult(name="LastMatch",runtimeType="net.rithms.riot.api.endpoints.match.dto.MatchReference"),mavenDepends=@WidMavenDepends(group="org.jbpm.contrib",artifact="riot-workitem",version="7.65.0.Final"),serviceInfo=@WidService(category="Riot Games",description="Gather and use League of Legends data",keywords="riot,league,legends,summoner,match,get,info",action=@WidAction(title="Get Summoner last match info"),authinfo=@WidAuth(required=true,params="apiKey",paramsdescription="Riot Games api key",referencesite="https://developer.riotgames.com/api-keys.html"))) public class LastSummonerMatchWorkitemHandler extends org.jbpm.process.workitem.core.AbstractLogOrThrowWorkItemHandler
-
-
Constructor Summary
Constructors Constructor Description LastSummonerMatchWorkitemHandler(String apiKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidabortWorkItem(org.kie.api.runtime.process.WorkItem wi, org.kie.api.runtime.process.WorkItemManager wim)voidexecuteWorkItem(org.kie.api.runtime.process.WorkItem workItem, org.kie.api.runtime.process.WorkItemManager workItemManager)voidsetRiotAuth(RiotAuth riotAuth)
-
-
-
Constructor Detail
-
LastSummonerMatchWorkitemHandler
public LastSummonerMatchWorkitemHandler(String apiKey)
-
-
Method Detail
-
executeWorkItem
public void executeWorkItem(org.kie.api.runtime.process.WorkItem workItem, org.kie.api.runtime.process.WorkItemManager workItemManager)
-
abortWorkItem
public void abortWorkItem(org.kie.api.runtime.process.WorkItem wi, org.kie.api.runtime.process.WorkItemManager wim)
-
setRiotAuth
public void setRiotAuth(RiotAuth riotAuth)
-
-