Package com.adobe.granite.workflow.model
Interface WorkflowNode
-
- All Superinterfaces:
HasMetaData
public interface WorkflowNode extends HasMetaData
WorkflowNode
represents a node/step in a
.WorkflowModel
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
TYPE_AND_JOIN
static java.lang.String
TYPE_AND_SPLIT
static java.lang.String
TYPE_CONTAINER
static java.lang.String
TYPE_DYNAMIC_PARTICIPANT
static java.lang.String
TYPE_END
static java.lang.String
TYPE_EXTERNAL_PROCESS
static java.lang.String
TYPE_OR_JOIN
static java.lang.String
TYPE_OR_SPLIT
static java.lang.String
TYPE_PARTICIPANT
static java.lang.String
TYPE_PROCESS
static java.lang.String
TYPE_START
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getDescription()
Returns the description of theWorkflowNode
.java.lang.String
getId()
Returns the ID of theWorkflowNode
.java.util.List<WorkflowTransition>
getIncomingTransitions()
Returns the incoming
s assigned to theWorkflowTransition
WorkflowNode
.java.lang.String
getTitle()
Returns theWorkflowNode
s title.java.util.List<WorkflowTransition>
getTransitions()
Returns the outgoing
s assigned to theWorkflowTransition
WorkflowNode
.java.lang.String
getType()
Returns the type of theWorkflowNode
.void
setDescription(java.lang.String description)
Set the description of theWorkflowNode
.void
setTitle(java.lang.String title)
Sets the title of theWorkflowNode
.void
setType(java.lang.String type)
Sets the type of theWorkflowNode
.-
Methods inherited from interface com.adobe.granite.workflow.HasMetaData
getMetaDataMap
-
-
-
-
Field Detail
-
TYPE_START
static final java.lang.String TYPE_START
- See Also:
- Constant Field Values
-
TYPE_END
static final java.lang.String TYPE_END
- See Also:
- Constant Field Values
-
TYPE_AND_SPLIT
static final java.lang.String TYPE_AND_SPLIT
- See Also:
- Constant Field Values
-
TYPE_AND_JOIN
static final java.lang.String TYPE_AND_JOIN
- See Also:
- Constant Field Values
-
TYPE_OR_SPLIT
static final java.lang.String TYPE_OR_SPLIT
- See Also:
- Constant Field Values
-
TYPE_OR_JOIN
static final java.lang.String TYPE_OR_JOIN
- See Also:
- Constant Field Values
-
TYPE_PROCESS
static final java.lang.String TYPE_PROCESS
- See Also:
- Constant Field Values
-
TYPE_CONTAINER
static final java.lang.String TYPE_CONTAINER
- See Also:
- Constant Field Values
-
TYPE_PARTICIPANT
static final java.lang.String TYPE_PARTICIPANT
- See Also:
- Constant Field Values
-
TYPE_DYNAMIC_PARTICIPANT
static final java.lang.String TYPE_DYNAMIC_PARTICIPANT
- See Also:
- Constant Field Values
-
TYPE_EXTERNAL_PROCESS
static final java.lang.String TYPE_EXTERNAL_PROCESS
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
java.lang.String getId()
Returns the ID of theWorkflowNode
.- Returns:
- ID of the
WorkflowNode
.
-
getType
java.lang.String getType()
Returns the type of theWorkflowNode
. Must be unique across all available types ofWorkflowNode
s.- Returns:
- The type of the
WorkflowNode
.
-
setType
void setType(java.lang.String type)
Sets the type of theWorkflowNode
. Must be unique across all available types ofWorkflowNode
s.- Parameters:
type
- The new type the theWorkflowNode
.
-
getDescription
java.lang.String getDescription()
Returns the description of theWorkflowNode
.- Returns:
- The description of the
WorkflowNode
.
-
setDescription
void setDescription(java.lang.String description)
Set the description of theWorkflowNode
.- Parameters:
description
- The new description of theWorkflowNode
.
-
getTransitions
java.util.List<WorkflowTransition> getTransitions()
Returns the outgoing
s assigned to theWorkflowTransition
WorkflowNode
.- Returns:
s associated with theWorkflowTransition
WorkflowNode
(only outgoing).
-
getIncomingTransitions
java.util.List<WorkflowTransition> getIncomingTransitions()
Returns the incoming
s assigned to theWorkflowTransition
WorkflowNode
.- Returns:
s associated with theWorkflowTransition
WorkflowNode
(only incoming).
-
getTitle
java.lang.String getTitle()
Returns theWorkflowNode
s title.- Returns:
- The title of the
WorkflowNode
.
-
setTitle
void setTitle(java.lang.String title)
Sets the title of theWorkflowNode
.- Parameters:
title
- The new title of theWorkflowNode
.
-
-