Package jetbrains.buildServer.web.util
Class PathsListTreeNode
- java.lang.Object
-
- jetbrains.buildServer.web.util.TreeNodeAdapter
-
- jetbrains.buildServer.web.util.PathsListTreeNode
-
- All Implemented Interfaces:
TreeNode
public class PathsListTreeNode extends TreeNodeAdapter
Tree node implementation which constructs tree from the list of relative paths.
-
-
Constructor Summary
Constructors Constructor Description PathsListTreeNode(String currentPath, String dirName, List<String> paths)PathsListTreeNode(String currentPath, List<String> paths)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<TreeNode>getChildren()Returns this node childrenStringgetDetails()Node detailsStringgetLinkPath()Returns path to set in the link for this node, applicable for leaf nodes only.StringgetName()Name of the node to show in treebooleanisCanHaveChildren()Returns true if node can have children-
Methods inherited from class jetbrains.buildServer.web.util.TreeNodeAdapter
getNodeAttributes, getNodeClass
-
-
-
-
Method Detail
-
getName
@NotNull public String getName()
Description copied from interface:TreeNodeName of the node to show in tree- Specified by:
getNamein interfaceTreeNode- Overrides:
getNamein classTreeNodeAdapter- Returns:
- see above
-
getDetails
public String getDetails()
Description copied from interface:TreeNodeNode details- Specified by:
getDetailsin interfaceTreeNode- Overrides:
getDetailsin classTreeNodeAdapter- Returns:
- see above
-
isCanHaveChildren
public boolean isCanHaveChildren()
Description copied from interface:TreeNodeReturns true if node can have children- Specified by:
isCanHaveChildrenin interfaceTreeNode- Overrides:
isCanHaveChildrenin classTreeNodeAdapter- Returns:
- see above
-
getLinkPath
public String getLinkPath()
Description copied from interface:TreeNodeReturns path to set in the link for this node, applicable for leaf nodes only.- Specified by:
getLinkPathin interfaceTreeNode- Overrides:
getLinkPathin classTreeNodeAdapter- Returns:
- see above
-
getChildren
public List<TreeNode> getChildren()
Description copied from interface:TreeNodeReturns this node children- Specified by:
getChildrenin interfaceTreeNode- Overrides:
getChildrenin classTreeNodeAdapter- Returns:
- see above
-
-