aem-plugin / com.cognifide.gradle.aem.pkg.tasks.sync / Downloader

Downloader

class Downloader

Constructors

<init>

Downloader(aem: AemExtension)

Properties

clean

Allows to delete existing contents before extracting downloaded one.

val clean: Property<Boolean!>!

definition

Allows to configure downloaded package details.

val definition: PackageDefinition

extract

Allows to disable extracting contents of download package to directory.

val extract: Property<Boolean!>!

extractDir

Path in which downloader JCR content will be extracted.

val extractDir: DirectoryProperty!

filter

Determines VLT filter used to grab JCR content from AEM instance.

val filter: Property<FilterFile!>!

instance

Determines instance from which JCR content will be downloaded.

val instance: Property<Instance!>!

Functions

definition

fun definition(options: PackageDefinition.() -> Unit): Unit

download

fun download(): Unit