Class GetExistingPastebinWorkitemHandler

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

    @Wid(widfile="GetPastebin.wid",
         name="GetPastebin",
         displayName="GetPastebin",
         defaultHandler="mvel: new org.jbpm.process.workitem.pastebin.GetExistingPastebinWorkitemHandler(\"develKey\")",
         documentation="pastebin-workitem/index.html",
         category="pastebin-workitem",
         icon="GetPastebin.png",
         parameters=@WidParameter(name="PastebinKey",required=true),
         results=@WidResult(name="PasteContent"),
         mavenDepends=@WidMavenDepends(group="org.jbpm.contrib",artifact="pastebin-workitem",version="7.64.0.Final"),
         serviceInfo=@WidService(category="Pastebin",description="Create new or get existing pastes from Pastebin",keywords="paste,pastebin,get,existing",action=@WidAction(title="Get an existing Pastebin"),authinfo=@WidAuth(required=true,params="develKey",paramsdescription="Pastebin developer key",referencesite="https://pastebin.com/api.php")))
    public class GetExistingPastebinWorkitemHandler
    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

      • GetExistingPastebinWorkitemHandler

        public GetExistingPastebinWorkitemHandler​(String develKey)
    • 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)