open class CleanUpTask : DefaultTask
This task will remove all not configured files and directories from the installation. The information is taken from the specified component descriptor. This task does not work incrementally.
CleanUpTask()
This task will remove all not configured files and directories from the installation. The information is taken from the specified component descriptor. This task does not work incrementally. |
var backupDir: File
Backup directory of this task. It is used for special or unknown directories and files. |
|
var containerPaths: Set<String>
Set of of all module containers of the component. |
|
var containersPath: String
Path of all containers of the component. |
|
var descriptorPath: String
Descriptor path configuration of the component. |
|
var directoryPaths: Set<String>
Set of of all directory paths of the component. |
|
var installDir: File
The installation directory of the component. All items of the component will be installed to this directory. |
|
var libsPath: String
Path of all libraries of the component. |
|
var linkNames: Set<String>
Set of of all link names of the component. |
|
var modulePaths: Set<String>
Set of of all module paths of the component. |
|
var modulesPath: String
Path of all modules of the component. |
fun cleanup(): Unit
The task action of the task. Delete not configured directories or move these files or directories to the backup directory. |
|
fun provideBackupDir(backupDir: Provider<Directory>): Unit
Set the provider for the backup directory property. |
|
fun provideContainerPaths(containerPaths: Provider<Set<String>>): Unit
Set the provider for the container path set property. |
|
fun provideContainersPath(containersPath: Provider<String>): Unit
Set the provider for the containers path property. |
|
fun provideDescriptorPath(descriptorPath: Provider<String>): Unit
Set the provider for the descriptor path property. |
|
fun provideDirectoryPaths(directoryPaths: Provider<Set<String>>): Unit
Set the provider for the directory set property. |
|
fun provideInstallDir(installDir: Provider<Directory>): Unit
Set the provider for the installation directory property. |
|
fun provideLibsPath(libsPath: Provider<String>): Unit
Set the provider for the libraries path property. |
|
fun provideLinkNames(linkNames: Provider<Set<String>>): Unit
Set the provider for the link set property. |
|
fun provideModulePaths(modulePaths: Provider<Set<String>>): Unit
Set the provider for the module path set property. |
|
fun provideModulesPath(modulesPath: Provider<String>): Unit
Set the provider for the modules path property. |