Change state of a deployable object
I am trying to change the state of a deployable object.
I can get the present state by using the following code:
IWDDeployableObject objDeployObj = WDDeployableObject.getDeployableObject("local/Approve_test");
WDDeployableObjectState state = objDeployObj.getState();
String strState = state.toString();
Now if i deploy the project Approve_test the a IWDDeployableObject gets created.
This object gives the state as 'STARTED'
I want to change thi state to 'STOPPED'
Pls if anybody can help me with this.