aem-plugin / com.cognifide.gradle.aem.common.pkg.vault / VaultDefinition

VaultDefinition

open class VaultDefinition

Represents collection of metadata being a part of CRX package.

Types

Delegate

Provide nicer syntax for accessing Gradle lazy properties in Pebble template files.

class Delegate

Constructors

<init>

Represents collection of metadata being a part of CRX package.

VaultDefinition(aem: AemExtension)

Properties

common

val common: CommonExtension

createdBy

val createdBy: Property<String!>!

description

val description: Property<String!>!

fileProperties

Any properties that could be used in any text file being a part of composed package.

val fileProperties: Map<String, Any>

filterElements

val filterElements: ListProperty<FilterElement!>!

filterRoots

val filterRoots: Set<String>

filters

val filters: Set<String>

group

Group for categorizing in CRX package manager

val group: Property<String!>!

name

Name visible in CRX package manager

val name: Property<String!>!

nodeTypeLibs

val nodeTypeLibs: ListProperty<String!>!

nodeTypeLines

val nodeTypeLines: ListProperty<String!>!

properties

Additional entries added to file 'META-INF/vault/properties.xml'.

val properties: MapProperty<String!, Any!>!

version

Version visible in CRX package manager.

val version: Property<String!>!

Functions

acHandling

fun acHandling(value: Boolean): Unit

filter

fun filter(root: String, definition: FilterElement.() -> Unit = {}): Unit
fun filter(root: Provider<String>, definition: FilterElement.() -> Unit = {}): Unit

filters

fun filters(vararg roots: String): Unit
fun filters(roots: Iterable<String>): Unit
fun filters(file: File): Unit
fun filters(file: RegularFileProperty, optionallyExist: Boolean = true): Unit
fun filters(provider: Provider<File>, optionallyExist: Boolean = true): Unit

nodeTypeLibs

fun nodeTypeLibs(file: RegularFileProperty, optionallyExist: Boolean = true): Unit
fun nodeTypeLibs(provider: Provider<File>, optionallyExist: Boolean = true): Unit

nodeTypeLines

fun nodeTypeLines(file: RegularFileProperty, optionallyExist: Boolean = true): Unit
fun nodeTypeLines(provider: Provider<File>, optionallyExist: Boolean = true): Unit

nodeTypes

fun nodeTypes(file: RegularFileProperty, optionallyExist: Boolean = true): Unit
fun nodeTypes(provider: Provider<File>, optionallyExist: Boolean = true): Unit

property

fun property(name: String, value: String): Unit

requiresRoot

fun requiresRoot(value: Boolean): Unit

Companion Object Properties

AC_HANDLING_PROPERTY

const val AC_HANDLING_PROPERTY: String

NODE_TYPES_LIB

val NODE_TYPES_LIB: Pattern

REQUIRES_ROOT_PROPERTY

const val REQUIRES_ROOT_PROPERTY: String

Inheritors

PackageDefinition

Package builder that could be used to compose CRX package in place.

class PackageDefinition : VaultDefinition