Class FetchIssuesWorkitemHandler

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

    @Wid(widfile="GithubFetchIssues.wid",name="GithubFetchIssues",displayName="GithubFetchIssues",defaultHandler="mvel: new org.jbpm.process.workitem.github.FetchIssuesWorkitemHandler(\"userName\", \"password\")",documentation="github-workitem/index.html",category="github-workitem",icon="GithubFetchIssues.png",parameters={@WidParameter(name="User",required=true),@WidParameter(name="RepoName",required=true),@WidParameter(name="IssuesState")},results=@WidResult(name="IssuesList",runtimeType="java.util.List"),mavenDepends=@WidMavenDepends(group="org.jbpm.contrib",artifact="github-workitem",version="7.74.0-SNAPSHOT"),serviceInfo=@WidService(category="Github",description="Create Gist or list your repositories in Github",keywords="github,repo,repository,fetch,issues",action=@WidAction(title="Fetch issues for a project from GitHub"),authinfo=@WidAuth(required=true,params={"userName","password"},paramsdescription={"Github username","Github password"},referencesite="https://github.com/")))
    public class FetchIssuesWorkitemHandler
    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

      • FetchIssuesWorkitemHandler

        public FetchIssuesWorkitemHandler​(String userName,
                                          String password)
    • 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)
      • setAuth

        public void setAuth​(GithubAuth auth)