Package org.jbpm.process.workitem.riot
Class MatchesInfoWorkitemHandler
- java.lang.Object
-
- org.jbpm.process.workitem.core.AbstractLogOrThrowWorkItemHandler
-
- org.jbpm.process.workitem.riot.MatchesInfoWorkitemHandler
-
- All Implemented Interfaces:
org.kie.api.runtime.process.WorkItemHandler
@Wid(widfile="RiotMatchInfo.wid",name="RiotMatchInfo",displayName="RiotMatchInfo",defaultHandler="mvel: new org.jbpm.process.workitem.riot.MatchesInfoWorkitemHandler(\"apiKey\")",documentation="riot-workitem/index.html",category="riot-workitem",icon="RiotMatchInfo.png",parameters={@WidParameter(name="SummonerName",required=true),@WidParameter(name="NumOfMatches"),@WidParameter(name="SummonerPlatform")},results=@WidResult(name="MatchesInfo",runtimeType="java.util.List"),mavenDepends=@WidMavenDepends(group="org.jbpm.contrib",artifact="riot-workitem",version="7.60.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 Match Info"),authinfo=@WidAuth(required=true,params="apiKey",paramsdescription="Riot Games api key",referencesite="https://developer.riotgames.com/api-keys.html"))) public class MatchesInfoWorkitemHandler extends org.jbpm.process.workitem.core.AbstractLogOrThrowWorkItemHandler
-
-
Constructor Summary
Constructors Constructor Description MatchesInfoWorkitemHandler(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
-
MatchesInfoWorkitemHandler
public MatchesInfoWorkitemHandler(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)
-
-