| |
|
| java.lang.Object xflow.common.WorkflowState
WorkflowState | public class WorkflowState implements Serializable(Code) | | This class represents the workflow's state - its variables and participant process states
|
isActive | public boolean isActive(Code) | | |
version | public int version(Code) | | |
WorkflowState | public WorkflowState()(Code) | | Constructor
|
getActiveProcesses | public Vector getActiveProcesses()(Code) | | Gets the vector of ProcessState objects of active processes
the vector of ProcessState objects |
getInitiator | public String getInitiator()(Code) | | Returns the initiator
initiator the user who initiated the workflow |
getIsActive | public boolean getIsActive()(Code) | | Gets the active status
the active status |
getState | public String getState()(Code) | | Returns the workflow state
workflowState the workflow state name |
getTimeEnded | public Date getTimeEnded()(Code) | | Gets the time ended
the end time |
getTimeStarted | public Date getTimeStarted()(Code) | | Gets the time started
the start time |
getVariables | public HashMap getVariables()(Code) | | Gets the variables hash map
the variables hash map |
getWorkflowId | public WorkflowId getWorkflowId()(Code) | | Gets a workflow ID
workflowId the workflow ID |
getWorkflowName | public String getWorkflowName()(Code) | | Returns the workflow name
workflowName the workflow name |
getWorkflowVersion | public int getWorkflowVersion()(Code) | | Returns the workflow version
Parameters: version - the workflow version |
setActiveProcesses | public void setActiveProcesses(Vector v)(Code) | | Sets the vector of ProcessState objects of active processes
Parameters: v - the vector of ProcessState objects |
setInitiator | public void setInitiator(String s)(Code) | | Sets the initiator
Parameters: s - the initiator (user) |
setIsActive | public void setIsActive(boolean b)(Code) | | Sets the active status
Parameters: b - the active status |
setState | public void setState(String s)(Code) | | Sets a workflow state
Parameters: s - the workflow state name |
setTimeEnded | public void setTimeEnded(Date ts)(Code) | | Sets the time ended
Parameters: d - the end time |
setTimeStarted | public void setTimeStarted(Date ts)(Code) | | Sets the time started
Parameters: d - the start time |
setVariables | public void setVariables(HashMap v)(Code) | | Sets the variables hash map
Parameters: v - the variables hash map |
setWorkflowId | public void setWorkflowId(WorkflowId wfid)(Code) | | Sets a workflow ID
Parameters: workflowId - the workflow ID |
setWorkflowName | public void setWorkflowName(String name)(Code) | | Sets a workflow name
Parameters: name - the workflow name |
setWorkflowVersion | public void setWorkflowVersion(int v)(Code) | | Sets a workflow version
Parameters: v - the workflow version |
toString | public String toString()(Code) | | Gets the string representation of this object
the string representation |
|
|
|