component-build-plugin / com.intershop.gradle.component.build.extension.items / ADependencyItem

ADependencyItem

abstract class ADependencyItem : AItem, IDependency

This class contains methods for items with additional dependencies.

Constructors

<init>

ADependencyItem()

This class contains methods for items with additional dependencies.

Properties

resolveTransitive

open var resolveTransitive: Boolean

This property configures the dependency resolution of the configured dependency during the creation of the descriptor. The descriptor must be complete! The default value is true.

Inherited Properties

contentType

open var contentType: String

This property contains the content type of the item. The following values are allowed:

dependency

abstract val dependency: DependencyConfig

Dependency of the item.

types

open val types: Set<String>

This set contains deployment or environment type definitions, like 'production', 'test' etc. The set can be extended. The set is empty per default. It is defined as an task input property.

Inherited Functions

addType

fun addType(type: String): Boolean

Adds a new deployment or environment type. The characters will be changed to lower cases.

addTypes

fun addTypes(types: Collection<String>): Boolean

Adds a list of new deployment or environment types. The characters will be changed to lower cases.

setTypes

fun setTypes(types: Collection<String>): Unit

Reset the set with new values from input.

Inheritors

LibraryItem

class LibraryItem : ADependencyItem, IItem, IDependency

This class provides a library object for the component extension of the component build plugin.

ModuleItem

class ModuleItem : ADependencyItem, IItem, IContainer, IDependency

This class provides a module object for the component extension of the component build plugin.