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

add

fun add(key: String, value: String, pattern: String, vararg types: String): PropertyItem

Add property key value pair to this component definition for specified deployment types.

Parameters

key - Property key of this item

value - Property value of this item

pattern - ANT based file pattern for files

types - set of deployment or environment types

fun add(key: String, value: String, pattern: String): PropertyItem

Add property key value pair to this component definition.

Parameters

key - Property key of this item

value - Property value of this item

pattern - ANT based file pattern for files

fun add(key: String, action: Action<in PropertyItem>): Unit

Add a property with a special key and configures this item.

Parameters

key - Property key of this item

action - action to configure all parameters of property item.