data class FileItem
File item data object to configure install tasks combines the real file with the configuration from the descriptor.
FileItem(file: File, filePath: String, targetPath: String, contentType: ContentType = ContentType.IMMUTABLE, updatable: Boolean = true)
initialize a complete file item. |
val contentType: ContentType
the content type of this file item. |
|
val file: File
real file on file system. |
|
val filePath: String
the file path on the target system. |
|
val targetPath: String
the target path without the file name. |
|
val updatable: Boolean
this is true if the file can be updated. |