Class IFTTTWorkitemHandler

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

    @Wid(widfile="IFTTTDefinitions.wid",name="IFTTTCall",displayName="IFTTTCall",defaultHandler="mvel: new org.jbpm.process.workitem.ifttt.IFTTTWorkitemHandler(\"key\")",documentation="ifttt-workitem/index.html",category="ifttt-workitem",icon="IFTTTCall.png",parameters={@WidParameter(name="Trigger",required=true),@WidParameter(name="Value1"),@WidParameter(name="Value2"),@WidParameter(name="Value3")},mavenDepends=@WidMavenDepends(group="org.jbpm.contrib",artifact="ifttt-workitem",version="7.71.0-SNAPSHOT"),serviceInfo=@WidService(category="IFTTT",description="Send a trigger message via IFTTT",keywords="ifttt,trigger,endpoint",action=@WidAction(title="Trigger an IFTTT endpoint"),authinfo=@WidAuth(required=true,params="key",paramsdescription="IFTTT app key",referencesite="https://platform.ifttt.com/docs/api_reference")))
    public class IFTTTWorkitemHandler
    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

      • IFTTTWorkitemHandler

        public IFTTTWorkitemHandler​(String key)
    • 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)
      • setClient

        public void setClient​(javax.ws.rs.client.Client client)
      • getRequestBody

        public String getRequestBody()