Package jetbrains.buildServer.web.util
Interface TreeNode
-
- All Known Implementing Classes:
FileNode
,GroupTreeNode
,PathsListTreeNode
,TreeNodeAdapter
public interface TreeNode
Tree node
-
-
Method Summary
All Methods Instance Methods Abstract 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 String getName()
Name of the node to show in tree- Returns:
- see above
-
getDetails
@Nullable String getDetails()
Node details- Returns:
- see above
-
isCanHaveChildren
boolean isCanHaveChildren()
Returns true if node can have children- Returns:
- see above
-
getLinkPath
@Nullable String getLinkPath()
Returns path to set in the link for this node, applicable for leaf nodes only.- Returns:
- see above
-
getChildren
@Nullable List<? extends TreeNode> getChildren()
Returns this node children- Returns:
- see above
-
getNodeClass
@Nullable String getNodeClass()
Returns node CSS class- Returns:
- see above
-
getNodeAttributes
@Nullable String getNodeAttributes()
Returns the node attributes (besides href)- Returns:
- node attributes
-
-