Class SummonerInfoWorkitemHandler

  • All Implemented Interfaces:
    org.kie.api.runtime.process.WorkItemHandler

    @Wid(widfile="RiotSummonerInfo.wid",name="RiotSummonerInfo",displayName="RiotSummonerInfo",defaultHandler="mvel: new org.jbpm.process.workitem.riot.SummonerInfoWorkitemHandler(\"apiKey\")",documentation="riot-workitem/index.html",category="riot-workitem",icon="RiotSummonerInfo.png",parameters={@WidParameter(name="SummonerName",required=true),@WidParameter(name="SummonerPlatform")},results=@WidResult(name="SummonerInfo",runtimeType="net.rithms.riot.api.endpoints.summoner.dto.Summoner"),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,get,info",action=@WidAction(title="Get Summoner info"),authinfo=@WidAuth(required=true,params="apiKey",paramsdescription="Riot Games api key",referencesite="https://developer.riotgames.com/api-keys.html")))
    public class SummonerInfoWorkitemHandler
    extends org.jbpm.process.workitem.core.AbstractLogOrThrowWorkItemHandler
    • Field Summary

      • Fields inherited from class org.jbpm.process.workitem.core.AbstractLogOrThrowWorkItemHandler

        handlingProcessId, handlingStrategy, logThrownException, retries
    • Constructor Detail

      • SummonerInfoWorkitemHandler

        public SummonerInfoWorkitemHandler​(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)