org.jbpm.process.workitem.rest
Class RestGeoCodeApiCallWorkItemHandler
java.lang.Object
org.jbpm.process.workitem.rest.RestGeoCodeApiCallWorkItemHandler
- All Implemented Interfaces:
- WorkItemHandler
public class RestGeoCodeApiCallWorkItemHandler
- extends Object
- implements org.drools.process.instance.WorkItemHandler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RestGeoCodeApiCallWorkItemHandler
public RestGeoCodeApiCallWorkItemHandler()
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
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
getResults
public List<ResultGeoCodeApi> getResults()
- Returns:
- the results
getHttpResponseCode
public int getHttpResponseCode()
- Returns:
- the httpResponseCode
setHttpResponseCode
public void setHttpResponseCode(int httpResponseCode)
- Parameters:
httpResponseCode
- the httpResponseCode to set
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.