component-build-plugin / com.intershop.gradle.component.build.utils.tree / Node / addTarget

addTarget

fun addTarget(environment: String, classifier: String, vararg pathEntry: String): Triple<Node, AddStatus, String>

Add path for target with environment and classifier.

Parameters

environment - environment/type string

classifier - classifier / OS type string

pathEntry - path entries

Return
the result status with the new child node

fun addTarget(environment: Set<String>, classifier: String, vararg pathEntry: String): Triple<Node, AddStatus, String>

Add path for target with an environment set and classifier.

Parameters

environment - environment/type set of strings

classifier - classifier / OS type string

pathEntry - path entries

Return
the result status with the new child node

fun addTarget(environment: Set<String>, classifier: Set<String>, vararg pathEntry: String): Triple<Node, AddStatus, String>

Add path for target with an environment set and classifier set.

Parameters

environment - environment/type set of strings

classifier - classifier / OS type set of strings

pathEntry - path entries

Return
the result status with the new child node