component-installation-plugin / com.intershop.gradle.component.installation.utils.data / FileItem

FileItem

data class FileItem

File item data object to configure install tasks combines the real file with the configuration from the descriptor.

Constructors

<init>

FileItem(file: File, filePath: String, targetPath: String, contentType: ContentType = ContentType.IMMUTABLE, updatable: Boolean = true)

initialize a complete file item.

Properties

contentType

val contentType: ContentType

the content type of this file item.

file

val file: File

real file on file system.

filePath

val filePath: String

the file path on the target system.

targetPath

val targetPath: String

the target path without the file name.

updatable

val updatable: Boolean

this is true if the file can be updated.