fun add(name: String, targetPath: String, vararg types: String): LinkItem
Add a single link to the component. This links will be created during the installation.
targetPath - the target path of the link
types - set of deployment or environment types
fun add(name: String, targetPath: String): LinkItem
Add a link configuration to the configuration.
targetPath - the target path of the link
fun add(name: String, targetPath: String, action: Action<in LinkItem>): Unit
Add a link configuration to the configuration and configures this.