Package jetbrains.buildServer.web.util
Class TreeNodeAdapter
- java.lang.Object
-
- jetbrains.buildServer.web.util.TreeNodeAdapter
-
- All Implemented Interfaces:
TreeNode
- Direct Known Subclasses:
FileNode,GroupTreeNode,PathsListTreeNode
public class TreeNodeAdapter extends Object implements TreeNode
- Author:
- Maxim Podkolzine (maxim.podkolzine@jetbrains.com)
-
-
Constructor Summary
Constructors Constructor Description TreeNodeAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<? extends 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 treeStringgetNodeAttributes()Returns the node attributes (besides href)StringgetNodeClass()Returns node CSS classbooleanisCanHaveChildren()Returns true if node can have children
-
-
-
Method Detail
-
getName
@NotNull public String getName()
Description copied from interface:TreeNodeName of the node to show in tree
-
getDetails
public String getDetails()
Description copied from interface:TreeNodeNode details- Specified by:
getDetailsin interfaceTreeNode- Returns:
- see above
-
isCanHaveChildren
public boolean isCanHaveChildren()
Description copied from interface:TreeNodeReturns true if node can have children- Specified by:
isCanHaveChildrenin interfaceTreeNode- 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- Returns:
- see above
-
getChildren
public List<? extends TreeNode> getChildren()
Description copied from interface:TreeNodeReturns this node children- Specified by:
getChildrenin interfaceTreeNode- Returns:
- see above
-
getNodeClass
public String getNodeClass()
Description copied from interface:TreeNodeReturns node CSS class- Specified by:
getNodeClassin interfaceTreeNode- Returns:
- see above
-
getNodeAttributes
public String getNodeAttributes()
Description copied from interface:TreeNodeReturns the node attributes (besides href)- Specified by:
getNodeAttributesin interfaceTreeNode- Returns:
- node attributes
-
-