data class Component
This is the configuration container of a components. It is initialized with the dependency and the installation path. If the path is not specified the information is taken from the descriptor.
Component(group: String, module: String, version: String, path: String = "")
initialize a simple component without any additional configuration. |
val commonName: String
This is the common name of the component within the installation project. |
|
val dependency: Dependency
The dependency object of the component. This is used for further installation steps. |
|
val excludes: Set<String>
Exclude patterns will be used to exclude special files from the installation or update. Please note, that excluded files will be also removed from an existing installation. |
|
val fileItems: LocalFileContainer
The container of local file items, that can be installed. |
|
val group: String
the group or organization of the component dependency. |
|
val module: String
the module or name of the of the component dependency. |
|
val path: String
the path of the component in the configured installation dir. |
|
val preserve: PatternFilterable
Preserve patterns will used be excluded or included files. Installed files will preserved. |
|
val version: String
the version or revision of the component dependency. |
fun exclude(pattern: String): Unit
Add a pattern to the exclude pattern set. fun exclude(patterns: Set<String>): Unit
Add a set of patterns to the exclude pattern set. |
|
fun fileItems(closure: Closure<Any>): Unitfun fileItems(action: Action<in LocalFileContainer>): Unit
Configures the container of local files. |
|
fun preserve(closure: Closure<Any>): Unitfun preserve(action: Action<in PatternFilterable>): Unit
Configures the preserve pattern set. |