org.ow2.orchestra.rest.client
Class JaxRSInstanceManagementAPIClient
java.lang.Object
org.ow2.orchestra.rest.client.JaxRSInstanceManagementAPIClient
- All Implemented Interfaces:
- InstanceManagementAPI
public class JaxRSInstanceManagementAPIClient
- extends Object
- implements InstanceManagementAPI
- Author:
- Guillaume Porcher
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JaxRSInstanceManagementAPIClient
public JaxRSInstanceManagementAPIClient(String orchestraURL)
exit
public void exit(ProcessInstanceUUID processInstanceUUID)
throws InstanceNotFoundException
- Specified by:
exit in interface InstanceManagementAPI
- Throws:
InstanceNotFoundException
resume
public void resume(ProcessInstanceUUID processInstanceUUID)
throws InstanceNotFoundException
- Specified by:
resume in interface InstanceManagementAPI
- Throws:
InstanceNotFoundException
suspend
public void suspend(ProcessInstanceUUID processInstanceUUID)
throws InstanceNotFoundException
- Specified by:
suspend in interface InstanceManagementAPI
- Throws:
InstanceNotFoundException
remove
public boolean remove(ProcessInstanceUUID processInstanceUUID)
- Specified by:
remove in interface InstanceManagementAPI
findJobsWithException
public List<JobData> findJobsWithException()
- Specified by:
findJobsWithException in interface InstanceManagementAPI
retryJob
public void retryJob(JobData job,
int retries)
throws JobNotFoundException
- Specified by:
retryJob in interface InstanceManagementAPI
- Throws:
JobNotFoundException
getPendingMessages
public List<PendingMessageData> getPendingMessages()
- Specified by:
getPendingMessages in interface InstanceManagementAPI
removePendingMessage
public void removePendingMessage(PendingMessageData message)
- Specified by:
removePendingMessage in interface InstanceManagementAPI
Copyright © 2011 OW2 Consortium. All Rights Reserved.