public interface Workflow extends HasMetaData
Workflow represents the current state of an instance of a
WorkflowModel. In terms of petri nets the state of a
workflow instance can be considered as the collections of tokens (or
WorkItems) that flow through the workflow instance.| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getId()
Returns the
Workflow instance ID. |
java.lang.String |
getInitiator()
Returns the initiator of the
Workflow instance. |
java.lang.String |
getState()
Returns the workflows state.
|
java.util.Date |
getTimeEnded()
Getter for the point in time where the
Workflow was
finished. |
java.util.Date |
getTimeStarted()
Getter for the point in time where the
Workflow instance
was started. |
WorkflowData |
getWorkflowData()
Returns the
WorkflowData object assigned to the
Workflow instance. |
WorkflowModel |
getWorkflowModel()
Returns the
that defines the
underlying workflow model of the Workflow instance. |
java.util.List<WorkItem> |
getWorkItems()
Returns the list of
s assigned to the
Workflow instance. |
java.util.List<WorkItem> |
getWorkItems(WorkItemFilter filter)
Returns a filtered list of
s assigned to the
Workflow instance. |
boolean |
isActive()
Indicates if the
Workflow instance is still active. |
getMetaData, getMetaDataMapjava.lang.String getId()
Workflow instance ID.Workflow instance ID.java.util.List<WorkItem> getWorkItems()
WorkItems assigned to the
Workflow instance.WorkItems assigned to the
Workflowjava.util.List<WorkItem> getWorkItems(WorkItemFilter filter)
WorkItems assigned to the
Workflow instance.filter - One is able to filter a subset of the available
WorkItems by passing a WorkItemFilter impl.WorkItems assigned to the
WorkflowWorkflowModel getWorkflowModel()
WorkflowModel that defines the
underlying workflow model of the Workflow instance.WorkflowModel of the
Workflow.boolean isActive()
Workflow instance is still active.java.lang.String getState()
RUNNING, SUSPENDED,
COMPLETED or ABORTED.java.lang.String getInitiator()
Workflow instance.Workflow.java.util.Date getTimeStarted()
Workflow instance
was started.Workflow instance.java.util.Date getTimeEnded()
Workflow was
finished.Workflow instance.WorkflowData getWorkflowData()
WorkflowData object assigned to the
Workflow instance.WorkflowData object assigned to the
Workflow instance.Copyright © 2010 - 2023 Adobe. All Rights Reserved