Package com.adobe.granite.workflow.model
Interface WorkflowNode
- All Superinterfaces:
HasMetaData
WorkflowNode represents a node/step in a
WorkflowModel.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturns the description of theWorkflowNode.getId()Returns the ID of theWorkflowNode.Returns the incomings assigned to theWorkflowTransitionWorkflowNode.getTitle()Returns theWorkflowNodes title.Returns the outgoings assigned to theWorkflowTransitionWorkflowNode.getType()Returns the type of theWorkflowNode.voidsetDescription(String description) Set the description of theWorkflowNode.voidSets the title of theWorkflowNode.voidSets the type of theWorkflowNode.Methods inherited from interface com.adobe.granite.workflow.HasMetaData
getMetaDataMap
-
Field Details
-
TYPE_START
- See Also:
-
TYPE_END
- See Also:
-
TYPE_AND_SPLIT
- See Also:
-
TYPE_AND_JOIN
- See Also:
-
TYPE_OR_SPLIT
- See Also:
-
TYPE_OR_JOIN
- See Also:
-
TYPE_PROCESS
- See Also:
-
TYPE_CONTAINER
- See Also:
-
TYPE_PARTICIPANT
- See Also:
-
TYPE_DYNAMIC_PARTICIPANT
- See Also:
-
TYPE_EXTERNAL_PROCESS
- See Also:
-
-
Method Details
-
getId
String getId()Returns the ID of theWorkflowNode.- Returns:
- ID of the
WorkflowNode.
-
getType
String getType()Returns the type of theWorkflowNode. Must be unique across all available types ofWorkflowNodes.- Returns:
- The type of the
WorkflowNode.
-
setType
Sets the type of theWorkflowNode. Must be unique across all available types ofWorkflowNodes.- Parameters:
type- The new type the theWorkflowNode.
-
getDescription
String getDescription()Returns the description of theWorkflowNode.- Returns:
- The description of the
WorkflowNode.
-
setDescription
Set the description of theWorkflowNode.- Parameters:
description- The new description of theWorkflowNode.
-
getTransitions
List<WorkflowTransition> getTransitions()Returns the outgoings assigned to theWorkflowTransitionWorkflowNode.- Returns:
s associated with theWorkflowTransitionWorkflowNode(only outgoing).
-
getIncomingTransitions
List<WorkflowTransition> getIncomingTransitions()Returns the incomings assigned to theWorkflowTransitionWorkflowNode.- Returns:
s associated with theWorkflowTransitionWorkflowNode(only incoming).
-
getTitle
String getTitle()Returns theWorkflowNodes title.- Returns:
- The title of the
WorkflowNode.
-
setTitle
Sets the title of theWorkflowNode.- Parameters:
title- The new title of theWorkflowNode.
-