Package com.adobe.granite.workflow.model
Interface WorkflowNode
-
- All Superinterfaces:
HasMetaData
public interface WorkflowNode extends HasMetaData
WorkflowNoderepresents a node/step in a.WorkflowModel
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringTYPE_AND_JOINstatic java.lang.StringTYPE_AND_SPLITstatic java.lang.StringTYPE_CONTAINERstatic java.lang.StringTYPE_DYNAMIC_PARTICIPANTstatic java.lang.StringTYPE_ENDstatic java.lang.StringTYPE_EXTERNAL_PROCESSstatic java.lang.StringTYPE_OR_JOINstatic java.lang.StringTYPE_OR_SPLITstatic java.lang.StringTYPE_PARTICIPANTstatic java.lang.StringTYPE_PROCESSstatic java.lang.StringTYPE_START
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetDescription()Returns the description of theWorkflowNode.java.lang.StringgetId()Returns the ID of theWorkflowNode.java.util.List<WorkflowTransition>getIncomingTransitions()Returns the incomings assigned to theWorkflowTransitionWorkflowNode.java.lang.StringgetTitle()Returns theWorkflowNodes title.java.util.List<WorkflowTransition>getTransitions()Returns the outgoings assigned to theWorkflowTransitionWorkflowNode.java.lang.StringgetType()Returns the type of theWorkflowNode.voidsetDescription(java.lang.String description)Set the description of theWorkflowNode.voidsetTitle(java.lang.String title)Sets the title of theWorkflowNode.voidsetType(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 ofWorkflowNodes.- 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 ofWorkflowNodes.- 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 outgoings assigned to theWorkflowTransitionWorkflowNode.- Returns:
s associated with theWorkflowTransitionWorkflowNode(only outgoing).
-
getIncomingTransitions
java.util.List<WorkflowTransition> getIncomingTransitions()
Returns the incomings assigned to theWorkflowTransitionWorkflowNode.- Returns:
s associated with theWorkflowTransitionWorkflowNode(only incoming).
-
getTitle
java.lang.String getTitle()
Returns theWorkflowNodes 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.
-
-