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 Details

    • 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(String name)
      Sets name for the scenario node.
      Parameters:
      name - name to set.
    • getName

      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

      String getHumanType()
      Gets human-readable representation of scenario node.
      Returns:
      human-readable representation of scenario node.
    • getParentContainer

      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.