component-build-plugin / com.intershop.gradle.component.build.extension.container / LinkItemContainer / add

add

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.

Parameters

name - name of the link

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.

Parameters

name - name of the link

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.

Parameters

name - name of the link

targetPath - the target path of the link

action - action to configure all parameters of link item.