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

LocalFileItem

data class LocalFileItem

Class for the configuration of a file item for installation from the local file system. The target path is a relative path for the installed component.

Constructors

<init>

LocalFileItem(file: File, targetPath: String, classifier: String = "", types: MutableSet<String> = mutableSetOf())

initialize a preconfigured local file item.

Properties

classifier

val classifier: String

for the configuration of the target OS. The default value is an empty string.

contentType

var contentType: String

The content type of this file item. The default value is 'IMMUTABLE'.

file

val file: File

File instance in the local file system.

targetPath

val targetPath: String

relative target for the file

types

val types: MutableSet<String>

for the environment configuration. The default value is an empty set.

updatable

var updatable: Boolean

The update configuration of this file. The default value is true.