Package org.jbpm.process.workitem.github
Class ListRepositoriesWorkitemHandler
- java.lang.Object
-
- org.jbpm.process.workitem.core.AbstractLogOrThrowWorkItemHandler
-
- org.jbpm.process.workitem.github.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.72.0.Final"), 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 Summary
Constructors Constructor Description ListRepositoriesWorkitemHandler(String userName, String password)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidabortWorkItem(org.kie.api.runtime.process.WorkItem wi, org.kie.api.runtime.process.WorkItemManager wim)voidexecuteWorkItem(org.kie.api.runtime.process.WorkItem workItem, org.kie.api.runtime.process.WorkItemManager workItemManager)voidsetAuth(GithubAuth auth)
-
-
-
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)
-
-