Class ListRepositoriesWorkitemHandler

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

    @Wid(widfile="GithubListRepositories.wid",
         name="GithubListRepositories",
         displayName="GithubListRepositories",
         defaultHandler="mvel: new org.jbpm.process.workitem.github.ListRepositoriesWorkitemHandler(\"userName\", \"password\")",
         documentation="github-workitem/index.html",
         category="github-workitem",
         icon="GithubListRepositories.png",
         parameters=@WidParameter(name="User",required=true),
         results=@WidResult(name="RepoListInfo",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,list",action=@WidAction(title="List all GitHub repositories"),authinfo=@WidAuth(required=true,params={"userName","password"},paramsdescription={"Github username","Github password"},referencesite="https://github.com/")))
    public class ListRepositoriesWorkitemHandler
    extends org.jbpm.process.workitem.core.AbstractLogOrThrowWorkItemHandler
    • Constructor Detail

      • ListRepositoriesWorkitemHandler

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