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

AItem

abstract class AItem : IItem

This class provides the basic properties of any component item.

Constructors

<init>

AItem()

This class provides the basic properties of any component item.

Properties

contentType

open var contentType: String

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

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.

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

AContainer

abstract class AContainer : AItem

This class contains functions and properties for all containers of the component extension.

ADependencyItem

abstract class ADependencyItem : AItem, IDependency

This class contains methods for items with additional dependencies.

Directory

class Directory : AItem, IItem, IOSSpecific

This class represents a directory configuration of a component.

DirectoryContainer

open class DirectoryContainer : AItem

This class provides a container for deployable directory configurations.

FileContainerItem

open class FileContainerItem : AItem, IItem, IOSSpecific, IContainer

Provides a zip package definition for the component extension.

FileItem

class FileItem : AItem, IItem, IOSSpecific

This class provides a file object configuration of the component.

FileItemContainer

open class FileItemContainer : AItem

This class provides a container for deployable single files.

LinkItem

class LinkItem : AItem, IItem

This class represents a link configuration of a component.

LinkItemContainer

open class LinkItemContainer : AItem

This class provides a container for deployable link configurations.

PropertyItem

class PropertyItem : AItem, IItem, IOSSpecific

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

PropertyItemContainer

open class PropertyItemContainer : AItem

This class provides a container for properties, that will be transferred for an deployment.