Package org.jbpm.process.workitem.ifttt
Class IFTTTWorkitemHandler
- java.lang.Object
-
- org.jbpm.process.workitem.core.AbstractLogOrThrowWorkItemHandler
-
- org.jbpm.process.workitem.ifttt.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
-
-
Constructor Summary
Constructors Constructor Description IFTTTWorkitemHandler(String key)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
abortWorkItem(org.kie.api.runtime.process.WorkItem wi, org.kie.api.runtime.process.WorkItemManager wim)
void
executeWorkItem(org.kie.api.runtime.process.WorkItem workItem, org.kie.api.runtime.process.WorkItemManager workItemManager)
String
getRequestBody()
void
setClient(javax.ws.rs.client.Client client)
-
-
-
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()
-
-