component-build-plugin / com.intershop.gradle.component.build.extension.container / AContainer

AContainer

abstract class AContainer : AItem

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

Constructors

<init>

AContainer(description: String, defTargetPath: String, parent: ComponentExtension)

provides an empty container

Properties

defTargetPath

val defTargetPath: String

description

val description: String

a short description of this container for log messages.

parent

open val parent: ComponentExtension

instance of the extension

targetPath

var targetPath: String

This path describes the installation in the default installation of the component.

Inherited 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

addTypes

fun addTypes(item: AItem): Unit

Add types to types list from item.

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

FileContainerItemContainer

open class FileContainerItemContainer : AContainer

This class provides a container for file container (zip packages).

LibraryItemContainer

open class LibraryItemContainer : AContainer

This class provides all properties for the library container extension.

ModuleItemContainer

open class ModuleItemContainer : AContainer

This class provides all properties for the module container extension.