component-installation-plugin / com.intershop.gradle.component.installation.utils / TreeNode / addChild

addChild

fun addChild(node: TreeNode): TreeNode

Add a child node to the current node, if the node does not exists in the list.

Parameters

node - tree node instance

Return
the node that was added or the available node