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

FileContainerItemContainer

open class FileContainerItemContainer : AContainer

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

Constructors

<init>

FileContainerItemContainer(project: Project, parent: ComponentExtension)

provides an empty preconfigured file item container

Properties

items

val items: Set<FileContainerItem>

This set provides all configured files.

parent

open val parent: ComponentExtension

the parent of this container.

project

val project: Project

the current project.

updatable

var updatable: Boolean

If an item should not be part of an update installation, this property is set to false.

Inherited Properties

defTargetPath

val defTargetPath: String

description

val description: String

a short description of this container for log messages.

targetPath

var targetPath: String

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

Functions

add

fun add(name: String, vararg types: String): FileContainerItem
fun add(name: String, action: Action<in FileContainerItem>): Unit

Add a container (zip package) configuration to the component build.

fun add(name: String): FileContainerItem

Add a dependency from any possible definition a to the configuration.

Inherited Functions

addTypes

fun addTypes(item: AItem): Unit

Add types to types list from item.