public interface WorkflowModel extends HasMetaData
WorkflowModel represents a model/definition of a workflow.
It provides methods for retrieving the entities of the model like
WorkflowNodes and
WorkflowTransitions as well as common model attributes
like name, description or version.| Modifier and Type | Method and Description |
|---|---|
WorkflowNode |
createNode()
TODO
|
WorkflowNode |
createNode(String title,
String type,
String description)
TODO
|
WorkflowTransition |
createTransition()
TODO
|
WorkflowTransition |
createTransition(WorkflowNode from,
WorkflowNode to,
String rule)
TODO
|
String |
getDescription()
Returns the description of the
WorkflowModel. |
WorkflowNode |
getEndNode()
Returns the end
. |
String |
getId()
Returns the ID of the
WorkflowModel. |
WorkflowNode |
getNode(String id)
Returns the
with the given id |
List<WorkflowNode> |
getNodes()
Returns the list of
s contained by the
WorkflowModel. |
WorkflowNode |
getRootNode()
Returns the root/start
. |
String |
getTitle()
Returns the title of the
WorkflowModel. |
List<WorkflowTransition> |
getTransitions()
Returns the list of
s contained by
the WorkflowModel. |
String |
getVersion()
Returns the version of the
WorkflowModel. |
void |
setDescription(String description)
Sets the description of the
WorkflowModel. |
void |
setEndNode(WorkflowNode node)
TODO
|
void |
setRootNode(WorkflowNode node)
TODO
|
void |
setTitle(String title)
Sets the title of the
WorkflowModel. |
void |
validate()
Validates the model.
|
getMetaData, getMetaDataMapString getId()
WorkflowModel.WorkflowModel.String getTitle()
WorkflowModel.WorkflowModel.void setTitle(String title)
WorkflowModel.title - The new title of the WorkflowModel.String getDescription()
WorkflowModel.WorkflowModel.void setDescription(String description)
WorkflowModel.description - The new description of the WorkflowModel.String getVersion()
WorkflowModel.WorkflowModel.List<WorkflowNode> getNodes()
WorkflowNodes contained by the
WorkflowModel.WorkflowNodes of the
WorkflowModel.WorkflowNode createNode()
WorkflowNode createNode(String title, String type, String description)
void setRootNode(WorkflowNode node)
void setEndNode(WorkflowNode node)
WorkflowNode getNode(String id)
WorkflowNode with the given idid - The ID of the WorkflowNode.WorkflowNode or null if not found.WorkflowNode getRootNode()
WorkflowNode.WorkflowNode.WorkflowNode getEndNode()
WorkflowNode.WorkflowNode.List<WorkflowTransition> getTransitions()
WorkflowTransitions contained by
the WorkflowModel.WorkflowTransitions of the
WorkflowModel.WorkflowTransition createTransition()
WorkflowTransition createTransition(WorkflowNode from, WorkflowNode to, String rule)
void validate()
throws ValidationException
ValidationException"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"