Package com.day.cq.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 StringTYPE_AND_JOINstatic StringTYPE_AND_SPLITstatic StringTYPE_CONTAINERstatic StringTYPE_DYNAMIC_PARTICIPANTstatic StringTYPE_ENDstatic StringTYPE_EXTERNAL_PROCESSstatic StringTYPE_OR_JOINstatic StringTYPE_OR_SPLITstatic StringTYPE_PARTICIPANTstatic StringTYPE_PROCESSstatic StringTYPE_START
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDescription()Returns the description of theWorkflowNode.StringgetId()Returns the ID of theWorkflowNode.List<WorkflowTransition>getIncomingTransitions()Returns the incomings assigned to theWorkflowTransitionWorkflowNode.StringgetTitle()Returns theWorkflowNodes title.List<WorkflowTransition>getTransitions()Returns the outgoings assigned to theWorkflowTransitionWorkflowNode.StringgetType()Returns the type of theWorkflowNode.voidsetDescription(String description)Set the description of theWorkflowNode.voidsetTitle(String title)Sets the title of theWorkflowNode.voidsetType(String type)Sets the type of theWorkflowNode.-
Methods inherited from interface com.day.cq.workflow.HasMetaData
getMetaData, getMetaDataMap
-
-
-
-
Field Detail
-
TYPE_START
static final String TYPE_START
- See Also:
- Constant Field Values
-
TYPE_END
static final String TYPE_END
- See Also:
- Constant Field Values
-
TYPE_AND_SPLIT
static final String TYPE_AND_SPLIT
- See Also:
- Constant Field Values
-
TYPE_AND_JOIN
static final String TYPE_AND_JOIN
- See Also:
- Constant Field Values
-
TYPE_OR_SPLIT
static final String TYPE_OR_SPLIT
- See Also:
- Constant Field Values
-
TYPE_OR_JOIN
static final String TYPE_OR_JOIN
- See Also:
- Constant Field Values
-
TYPE_PROCESS
static final String TYPE_PROCESS
- See Also:
- Constant Field Values
-
TYPE_CONTAINER
static final String TYPE_CONTAINER
- See Also:
- Constant Field Values
-
TYPE_PARTICIPANT
static final String TYPE_PARTICIPANT
- See Also:
- Constant Field Values
-
TYPE_DYNAMIC_PARTICIPANT
static final String TYPE_DYNAMIC_PARTICIPANT
- See Also:
- Constant Field Values
-
TYPE_EXTERNAL_PROCESS
static final String TYPE_EXTERNAL_PROCESS
- See Also:
- Constant Field Values
-
-
Method Detail
-
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
void setType(String type)
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
void setDescription(String description)
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
void setTitle(String title)
Sets the title of theWorkflowNode.- Parameters:
title- The new title of theWorkflowNode.
-
-