aem-plugin / com.cognifide.gradle.aem.common.pkg / PackageFileFilter

PackageFileFilter

class PackageFileFilter : Serializable

Constructors

<init>

PackageFileFilter(task: PackageCompose)

Properties

bundleChecking

Filter that ensures that only OSGi bundles will be put into CRX package under install path.

val bundleChecking: Property<BundleChecking!>!

excludeFiles

Exclude files being a part of CRX package.

val excludeFiles: ListProperty<String!>!

excluding

val excluding: Property<Boolean!>!

expandFiles

Wildcard file name filter expression that is used to filter in which Vault files properties can be injected.

val expandFiles: ListProperty<String!>!

expanding

val expanding: Property<Boolean!>!

expandProperties

Define here custom properties that can be used in CRX package files like 'META-INF/vault/properties.xml'. Could override predefined properties provided by plugin itself.

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

Functions

expandProperty

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

filter

fun filter(spec: CopySpec, expandProperties: Map<String, Any> = mapOf()): Unit

Companion Object Properties

EXCLUDE_FILES_DEFAULT

val EXCLUDE_FILES_DEFAULT: List<String>

EXPAND_FILES_DEFAULT

val EXPAND_FILES_DEFAULT: List<String>