public class BpelInstanceManagementClient extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
BpelInstanceManagementClient.InstanceOperation |
| Constructor and Description |
|---|
BpelInstanceManagementClient(String serviceEndPoint,
String sessionCookie)
Registers the text to display in a tool tip.
|
BpelInstanceManagementClient(String serviceEndPoint,
String username,
String password) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
assertInstanceInfo(String status,
String variableName,
String expectedVarValue,
List<String> instanceIds) |
void |
assertStatus(String status,
List<String> instanceIds) |
void |
assertVariable(String variableName,
String expectedVarValue,
List<String> instanceIds) |
void |
clearInstancesOfProcess(String processId) |
void |
deleteAllInstances() |
int |
deleteInstance(String instanceId) |
org.wso2.carbon.bpel.stub.mgt.types.PaginatedInstanceList |
filterPageInstances(String processId) |
org.wso2.carbon.bpel.stub.mgt.types.InstanceInfoType |
getInstanceInfo(String instanceId) |
org.wso2.carbon.bpel.stub.mgt.types.PaginatedInstanceList |
listAllInstances() |
List<String> |
listInstances() |
List<String> |
listInstances(int expectedInstanceCount) |
List<String> |
listInstances(String processId) |
List<String> |
listInstances(String processId,
int expectedInstanceCount) |
void |
performAction(String instanceId,
BpelInstanceManagementClient.InstanceOperation operation) |
public BpelInstanceManagementClient(String serviceEndPoint, String sessionCookie) throws org.apache.axis2.AxisFault
serviceEndPoint - the string to display. If the text is null, the tool tip is turned off for this
component.org.apache.axis2.AxisFaultpublic org.wso2.carbon.bpel.stub.mgt.types.PaginatedInstanceList listAllInstances()
throws org.wso2.carbon.bpel.stub.mgt.InstanceManagementException,
RemoteException
org.wso2.carbon.bpel.stub.mgt.InstanceManagementExceptionRemoteExceptionpublic org.wso2.carbon.bpel.stub.mgt.types.PaginatedInstanceList filterPageInstances(String processId) throws org.wso2.carbon.bpel.stub.mgt.InstanceManagementException, RemoteException
org.wso2.carbon.bpel.stub.mgt.InstanceManagementExceptionRemoteExceptionpublic List<String> listInstances() throws org.wso2.carbon.bpel.stub.mgt.InstanceManagementException, RemoteException
org.wso2.carbon.bpel.stub.mgt.InstanceManagementExceptionRemoteExceptionpublic List<String> listInstances(int expectedInstanceCount) throws org.wso2.carbon.bpel.stub.mgt.InstanceManagementException, RemoteException
org.wso2.carbon.bpel.stub.mgt.InstanceManagementExceptionRemoteExceptionpublic List<String> listInstances(String processId) throws RemoteException, org.wso2.carbon.bpel.stub.mgt.InstanceManagementException
RemoteExceptionorg.wso2.carbon.bpel.stub.mgt.InstanceManagementExceptionpublic List<String> listInstances(String processId, int expectedInstanceCount) throws org.wso2.carbon.bpel.stub.mgt.InstanceManagementException, RemoteException
org.wso2.carbon.bpel.stub.mgt.InstanceManagementExceptionRemoteExceptionpublic int deleteInstance(String instanceId) throws org.wso2.carbon.bpel.stub.mgt.InstanceManagementException, RemoteException
org.wso2.carbon.bpel.stub.mgt.InstanceManagementExceptionRemoteExceptionpublic void deleteAllInstances()
throws org.wso2.carbon.bpel.stub.mgt.InstanceManagementException,
RemoteException
org.wso2.carbon.bpel.stub.mgt.InstanceManagementExceptionRemoteExceptionpublic void clearInstancesOfProcess(String processId) throws org.wso2.carbon.bpel.stub.mgt.InstanceManagementException, RemoteException
org.wso2.carbon.bpel.stub.mgt.InstanceManagementExceptionRemoteExceptionpublic org.wso2.carbon.bpel.stub.mgt.types.InstanceInfoType getInstanceInfo(String instanceId) throws RemoteException, org.wso2.carbon.bpel.stub.mgt.InstanceManagementException
RemoteExceptionorg.wso2.carbon.bpel.stub.mgt.InstanceManagementExceptionpublic void assertStatus(String status, List<String> instanceIds) throws org.wso2.carbon.bpel.stub.mgt.InstanceManagementException, RemoteException
org.wso2.carbon.bpel.stub.mgt.InstanceManagementExceptionRemoteExceptionpublic void assertVariable(String variableName, String expectedVarValue, List<String> instanceIds) throws org.wso2.carbon.bpel.stub.mgt.InstanceManagementException, RemoteException
org.wso2.carbon.bpel.stub.mgt.InstanceManagementExceptionRemoteExceptionpublic boolean assertInstanceInfo(String status, String variableName, String expectedVarValue, List<String> instanceIds) throws RemoteException, org.wso2.carbon.bpel.stub.mgt.InstanceManagementException
RemoteExceptionorg.wso2.carbon.bpel.stub.mgt.InstanceManagementExceptionpublic void performAction(String instanceId, BpelInstanceManagementClient.InstanceOperation operation) throws RemoteException, org.wso2.carbon.bpel.stub.mgt.InstanceManagementException
RemoteExceptionorg.wso2.carbon.bpel.stub.mgt.InstanceManagementExceptionCopyright © 2015 WSO2 Inc. All rights reserved.