org.alfresco.bm.eventprocessor.http
Class StartWorkflowCallback
java.lang.Object
org.alfresco.bm.eventprocessor.http.StartWorkflowCallback
- All Implemented Interfaces:
- org.alfresco.bm.http.AuthenticatedHttpEventProcessor.HttpRequestCallback<String>
public class StartWorkflowCallback
- extends Object
- implements org.alfresco.bm.http.AuthenticatedHttpEventProcessor.HttpRequestCallback<String>
Callback that extract worklfow instance id from start-workflow
response. Throws exception if the ID cannot be extracted.
- Author:
- Frederik Heremans
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StartWorkflowCallback
public StartWorkflowCallback()
onCallSuccess
public String onCallSuccess(org.apache.commons.httpclient.HttpMethod method)
- Specified by:
onCallSuccess in interface org.alfresco.bm.http.AuthenticatedHttpEventProcessor.HttpRequestCallback<String>
onError
public boolean onError(org.apache.commons.httpclient.HttpMethod method,
Throwable t)
- Specified by:
onError in interface org.alfresco.bm.http.AuthenticatedHttpEventProcessor.HttpRequestCallback<String>
Copyright © 2012. All Rights Reserved.