Class WorkflowPath
- java.lang.Object
-
- org.alfresco.service.cmr.workflow.WorkflowPath
-
@AlfrescoPublicApi public class WorkflowPath extends java.lang.ObjectWorkflow Path Data Object Represents a path within an "in-flight" workflow instance. Simple workflows consists of a single "root" path. Multiple paths occur when a workflow instance branches, therefore more than one concurrent path is taken.- Author:
- davidc
-
-
Field Summary
Fields Modifier and Type Field Description booleanactiveDeprecated.java.lang.StringidDeprecated.WorkflowInstanceinstanceDeprecated.WorkflowNodenodeDeprecated.
-
Constructor Summary
Constructors Constructor Description WorkflowPath(java.lang.String id, WorkflowInstance instance, WorkflowNode node, boolean active)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetId()WorkflowInstancegetInstance()WorkflowNodegetNode()booleanisActive()java.lang.StringtoString()
-
-
-
Field Detail
-
id
@Deprecated public java.lang.String id
Deprecated.Unique id of Workflow Path
-
instance
@Deprecated public WorkflowInstance instance
Deprecated.Workflow Instance this path is part of
-
node
@Deprecated public WorkflowNode node
Deprecated.The Workflow Node the path is at
-
active
@Deprecated public boolean active
Deprecated.Is the path still active?
-
-
Constructor Detail
-
WorkflowPath
public WorkflowPath(java.lang.String id, WorkflowInstance instance, WorkflowNode node, boolean active)
-
-
Method Detail
-
getId
public java.lang.String getId()
- Returns:
- the id
-
getInstance
public WorkflowInstance getInstance()
- Returns:
- the instance
-
getNode
public WorkflowNode getNode()
- Returns:
- the node
-
isActive
public boolean isActive()
- Returns:
- the active
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-