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
WorkItem
s) that flow through the workflow instance.Modifier and Type | Interface and Description |
---|---|
static class |
Workflow.State
Enumerates the possible states of a Workflow
|
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. |
getMetaDataMap
java.lang.String getId()
Workflow
instance ID.Workflow
instance ID.java.util.List<WorkItem> getWorkItems()
WorkItem
s assigned to the
Workflow
instance.WorkItem
s assigned to the
Workflow
java.util.List<WorkItem> getWorkItems(WorkItemFilter filter)
WorkItem
s assigned to the
Workflow
instance.filter
- One is able to filter a subset of the available
WorkItem
s by passing a WorkItemFilter
impl.WorkItem
s assigned to the
Workflow
WorkflowModel 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 - 2020 Adobe Systems Incorporated. All Rights Reserved"