| java.lang.Object process.SmartWfExecutionObject
All known Subclasses: process.SmartWfProcess, process.SmartWfActivity,
SmartWfExecutionObject | public class SmartWfExecutionObject (Code) | | Describe class SmartWfExecutionObject here.
author: Christian Weidauer version: 1.0 |
Method Summary | |
public void | abort() Sets the state of a WfExecutionObject by calling
abort() (setStateDirectly == false) or by calling
setState() (setStateDirectly == true). | public void | changeState(String state) Describe changeState method here. | public boolean | hasState(String stateToCheck) Describe hasState method here. | public String | key() Return the key. | public String | name() Describe name method here. | public void | resume() Sets the state of a WfExecutionObject by calling
resume() (setStateDirectly == false) or by calling
setState() (setStateDirectly == true). | public void | setupWaitForState(String stateToCheck) Describe waitForState method here. | public void | setupWaitForState(String stateToCheck, boolean log) Describe waitForState method here. | public String | state() Describe state method here. | public void | suspend() Sets the state of a WfExecutionObject by calling
suspend() (setStateDirectly == false) or by calling
setState() (setStateDirectly == true)
The intended transition is from open.running to
open.not_running.suspended. | public void | terminate() Sets the state of a WfExecutionObject by calling
terminate() (setStateDirectly == false) or by calling
setState() (setStateDirectly == true). | public String | toString() | public void | waitForState() |
setStateDirectly | protected boolean setStateDirectly(Code) | | Describe variable setStateDirectly here.
|
SmartWfExecutionObject | public SmartWfExecutionObject(WfExecutionObject wfeo, boolean setStateDirectly) throws Exception(Code) | | Creates a new SmartWfExecutionObject instance.
Parameters: wfeo - a WfExecutionObject value Parameters: setStateDirectly - a boolean value |
SmartWfExecutionObject | public SmartWfExecutionObject(WfExecutionObject wfeo) throws Exception(Code) | | Creates a new SmartWfExecutionObject instance.
Parameters: wfeo - a WfExecutionObject value |
hasState | public boolean hasState(String stateToCheck)(Code) | | Describe hasState method here.
Parameters: stateToCheck - a String value a boolean value |
name | public String name()(Code) | | Describe name method here.
a String value |
setupWaitForState | public void setupWaitForState(String stateToCheck) throws Exception(Code) | | Describe waitForState method here.
Parameters: stateToCheck - a String value exception: Exception - if an error occurs |
setupWaitForState | public void setupWaitForState(String stateToCheck, boolean log) throws Exception(Code) | | Describe waitForState method here.
Parameters: stateToCheck - a String value exception: Exception - if an error occurs |
state | public String state()(Code) | | Describe state method here.
a String value |
|
|