Interface ScenarioNode
-
- All Known Subinterfaces:
AlternativeCondition
,ExceptionType
,FlowStep
,Scenario
,ScenarioNodeEnd
,ScenarioNodeStart
@OpenApiAll public interface ScenarioNode
General node in the scenario. All specific nodes in scenario derive from it.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
belongsToIncludedExtending()
Indicates if node belongs to included/extending use case.Element
getElement()
Gets element which represents this node.ScenarioNodeEnd
getEnd()
Gets scenario node end.java.lang.String
getHumanType()
Gets human-readable representation of scenario node.java.lang.String
getName()
Gets name of the node.ScenarioNode
getParent()
Gets parent of the scenario node.java.util.List<? extends ScenarioNode>
getParentContainer()
Gets container in the parent to which this node belongs.ScenarioNodeStart
getStart()
Gets scenario node start.boolean
isEditable()
Indicates if node is editable.void
setName(java.lang.String name)
Sets name for the scenario node.
-
-
-
Method Detail
-
getElement
Element getElement()
Gets element which represents this node.- Returns:
- element which represents this node.
-
belongsToIncludedExtending
boolean belongsToIncludedExtending()
Indicates if node belongs to included/extending use case.- Returns:
- true if node belongs to included/extending use case, false otherwise.
-
setName
void setName(java.lang.String name)
Sets name for the scenario node.- Parameters:
name
- name to set.
-
getName
java.lang.String getName()
Gets name of the node.- Returns:
- node name.
-
getParent
ScenarioNode getParent()
Gets parent of the scenario node.- Returns:
- parent of the scenario node.
-
isEditable
boolean isEditable()
Indicates if node is editable.- Returns:
- true if node is editable, false otherwise.
-
getStart
ScenarioNodeStart getStart()
Gets scenario node start.- Returns:
- scenario node start.
-
getEnd
ScenarioNodeEnd getEnd()
Gets scenario node end.- Returns:
- scenario node end.
-
getHumanType
java.lang.String getHumanType()
Gets human-readable representation of scenario node.- Returns:
- human-readable representation of scenario node.
-
getParentContainer
java.util.List<? extends ScenarioNode> getParentContainer()
Gets container in the parent to which this node belongs. Parent container can be used for changing position of the node or figuring out the number of node.- Returns:
- parent container to which this node belongs.
-
-