component-installation-plugin / com.intershop.gradle.component.installation.extension / LocalFileContainer

LocalFileContainer

class LocalFileContainer

This is the configuration container for local files, that can be installed.

Constructors

<init>

LocalFileContainer()

This is the configuration container for local files, that can be installed.

Properties

localFileItems

val localFileItems: MutableSet<LocalFileItem>

The set of local file items. The default configuration is an empty set.

Functions

add

fun add(file: File, targetPath: String): Unit

Adds a file item with a local file and a target path.

fun add(file: File, targetPath: String, action: Action<in LocalFileItem>): Unit

Adds a file item with a local file and a target path. The configuration can be adapted with an action.

fun add(file: File, targetPath: String, closure: Closure<LocalFileItem>): Unit

Adds a file item with a local file and a target path. The configuration can be adapted with a closure.