public class TaskFlowNodeImpl extends Object implements TaskFlowNode
TaskFlowNode
implementation.TYPE
Constructor and Description |
---|
TaskFlowNodeImpl(String flowName,
boolean isEscalation,
TaskNode task,
NodeContext context)
Initiate.
|
Modifier and Type | Method and Description |
---|---|
FlowInstigationStrategyEnum |
getFlowInstigationStrategy()
Obtains the
FlowInstigationStrategyEnum for the TaskFlow . |
LinkFlowNode |
getLinkedFlowNode()
Obtains the
LinkFlowNode linked to this LinkFlowNode . |
String |
getLocation()
Obtains the location of the
Node . |
String |
getNodeName()
Obtains the name of the
Node . |
String |
getNodeType()
Obtains the
Node type. |
Node |
getParentNode()
|
String |
getTaskFlowName()
Obtains the name of this
TaskFlow . |
void |
initialise()
Initialises the
TaskFlowNode . |
boolean |
isInitialised()
Indicates if the
Node has been initialised. |
boolean |
linkFlowNode(LinkFlowNode node)
Links the input
LinkFlowNode to this LinkFlowNode . |
void |
setFlowInstigationStrategy(FlowInstigationStrategyEnum instigationStrategy)
Specifies the
FlowInstigationStrategyEnum for this
TaskFlow . |
public TaskFlowNodeImpl(String flowName, boolean isEscalation, TaskNode task, NodeContext context)
flowName
- Name of this TaskFlow
.isEscalation
- Indicates if this TaskFlow
is for a
TaskEscalationType
.task
- Parent TaskNode
.context
- NodeContext
.public String getNodeName()
Node
Node
.getNodeName
in interface Node
Node
.public String getNodeType()
Node
Node
type.getNodeType
in interface Node
Node
type.public String getLocation()
Node
Node
.getLocation
in interface Node
Node
. May be null
if
Node
does not support a location.public Node getParentNode()
Node
getParentNode
in interface Node
Node
containing this Node
.public boolean isInitialised()
Node
Node
has been initialised. Node
instances should only be initialised once. Initialising the Node
twice is an issue.isInitialised
in interface Node
true
if initialised.public void initialise()
TaskFlowNode
TaskFlowNode
.initialise
in interface TaskFlowNode
public String getTaskFlowName()
TaskFlow
TaskFlow
.getTaskFlowName
in interface TaskFlow
TaskFlow
.public void setFlowInstigationStrategy(FlowInstigationStrategyEnum instigationStrategy)
TaskFlowNode
FlowInstigationStrategyEnum
for this
TaskFlow
.setFlowInstigationStrategy
in interface TaskFlowNode
instigationStrategy
- FlowInstigationStrategyEnum
for this TaskFlow
.public FlowInstigationStrategyEnum getFlowInstigationStrategy()
TaskFlowNode
FlowInstigationStrategyEnum
for the TaskFlow
.getFlowInstigationStrategy
in interface TaskFlowNode
FlowInstigationStrategyEnum
for this TaskFlow
.public boolean linkFlowNode(LinkFlowNode node)
LinkFlowNode
LinkFlowNode
to this LinkFlowNode
.linkFlowNode
in interface LinkFlowNode
node
- LinkFlowNode
to link to this LinkFlowNode
.true
if linked.public LinkFlowNode getLinkedFlowNode()
LinkFlowNode
LinkFlowNode
linked to this LinkFlowNode
.getLinkedFlowNode
in interface LinkFlowNode
LinkFlowNode
linked to this LinkFlowNode
.Copyright © 2005–2016. All rights reserved.