org.jbpm.process.workitem.rest
Class RESTWorkItemHandler
java.lang.Object
org.jbpm.process.workitem.rest.RESTWorkItemHandler
- All Implemented Interfaces:
- WorkItemHandler
public class RESTWorkItemHandler
- extends Object
- implements org.drools.core.process.instance.WorkItemHandler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RESTWorkItemHandler
public RESTWorkItemHandler()
RESTWorkItemHandler
public RESTWorkItemHandler(String username,
String password)
RESTWorkItemHandler
public RESTWorkItemHandler(String username,
String password,
String authUrl)
getAuthUrl
public String getAuthUrl()
executeWorkItem
public void executeWorkItem(WorkItem workItem,
WorkItemManager manager)
- Description copied from interface:
WorkItemHandler
- The given work item should be executed.
- Specified by:
executeWorkItem
in interface WorkItemHandler
- Parameters:
workItem
- the work item that should be executedmanager
- the manager that requested the work item to be executed
postProcessResult
protected void postProcessResult(String result,
Map<String,Object> results)
doAuthorization
protected void doAuthorization(org.apache.commons.httpclient.HttpClient httpclient,
org.apache.commons.httpclient.HttpMethod method,
Map<String,Object> params)
abortWorkItem
public void abortWorkItem(WorkItem workItem,
WorkItemManager manager)
- Description copied from interface:
WorkItemHandler
- The given work item should be aborted.
- Specified by:
abortWorkItem
in interface WorkItemHandler
- Parameters:
workItem
- the work item that should be abortedmanager
- the manager that requested the work item to be aborted
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.