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 childrenString
getDetails()
Node detailsString
getLinkPath()
Returns path to set in the link for this node, applicable for leaf nodes only.String
getName()
Name of the node to show in treeString
getNodeAttributes()
Returns the node attributes (besides href)String
getNodeClass()
Returns node CSS classboolean
isCanHaveChildren()
Returns true if node can have children
-
-
-
Method Detail
-
getName
@NotNull public String getName()
Description copied from interface:TreeNode
Name of the node to show in tree
-
getDetails
public String getDetails()
Description copied from interface:TreeNode
Node details- Specified by:
getDetails
in interfaceTreeNode
- Returns:
- see above
-
isCanHaveChildren
public boolean isCanHaveChildren()
Description copied from interface:TreeNode
Returns true if node can have children- Specified by:
isCanHaveChildren
in interfaceTreeNode
- Returns:
- see above
-
getLinkPath
public String getLinkPath()
Description copied from interface:TreeNode
Returns path to set in the link for this node, applicable for leaf nodes only.- Specified by:
getLinkPath
in interfaceTreeNode
- Returns:
- see above
-
getChildren
public List<? extends TreeNode> getChildren()
Description copied from interface:TreeNode
Returns this node children- Specified by:
getChildren
in interfaceTreeNode
- Returns:
- see above
-
getNodeClass
public String getNodeClass()
Description copied from interface:TreeNode
Returns node CSS class- Specified by:
getNodeClass
in interfaceTreeNode
- Returns:
- see above
-
getNodeAttributes
public String getNodeAttributes()
Description copied from interface:TreeNode
Returns the node attributes (besides href)- Specified by:
getNodeAttributes
in interfaceTreeNode
- Returns:
- node attributes
-
-