open class Swabra : BuildFeature
A build feature cleaning files and processes created during a build
See Also
enum class FilesCleanup
Files clean-up mode |
|
enum class LockingProcessPolicy
Specifies how to handle processes locking some files |
Swabra(init: Swabra.() -> Unit) Swabra()
A build feature cleaning files and processes created during a build |
var filesCleanup: FilesCleanup?
A files clean-up mode to use |
|
var forceCleanCheckout: Boolean?
Force clean checkout if cannot restore clean directory state |
|
var lockingProcesses: LockingProcessPolicy?
Whether to inspect the checkout directory for processes locking files in this directory, and what to do with such processes |
|
var paths: String?
Paths to monitor |
|
var verbose: Boolean?
Enables detailed logging to build log |
var enabled: Boolean
Specifies whether the feature is enabled, true by default |
|
var id: String?
Build feature id, if not specified will be generated |
|
var type: String
Build feature type |
open fun validate(consumer: ErrorConsumer): Unit
Validates this object and reports found errors to the provided consumer |
open fun create(): BuildFeature
Creates an instance of this build feature via reflection using a no argument constructor, used during copying. Throws an error if this class doesn't have a default constructor. Subclasses can override it to create an instance without using a default constructor. |
|
open fun toString(): String |