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

add

fun add(targetPath: String, vararg types: String): Directory

Add a single directory to the component.

Parameters

targetPath - a relative path for the component

types - set of deployment or environment types

fun add(targetPath: String): Directory

Add a single directory to the component.

Parameters

targetPath - a relative path for the component

fun add(targetPath: String, action: Action<in Directory>): Unit

Add a single directory to the component and configures this component.

Parameters

targetPath - a relative path for the component

action - action to configure all parameters of directory item.