public class Downloader
public Downloader(@NotNull
AemExtension aem)
public org.gradle.api.provider.Property<com.cognifide.gradle.aem.common.instance.Instance> getInstance()
Determines instance from which JCR content will be downloaded.
public org.gradle.api.provider.Property<com.cognifide.gradle.aem.common.pkg.vault.FilterFile> getFilter()
Determines VLT filter used to grab JCR content from AEM instance.
@NotNull public PackageDefinition getDefinition()
Allows to configure downloaded package details.
public void definition(@NotNull
kotlin.jvm.functions.Function1<? super com.cognifide.gradle.aem.common.pkg.PackageDefinition,kotlin.Unit> options)
public org.gradle.api.provider.Property<java.lang.Boolean> getClean()
Allows to delete existing contents before extracting downloaded one.
public org.gradle.api.provider.Property<java.lang.Boolean> getExtract()
Allows to disable extracting contents of download package to directory.
This operation can be modified using '-Pforce' command line to replace the contents of extract directory with package content.
public org.gradle.api.file.DirectoryProperty getExtractDir()
Path in which downloader JCR content will be extracted.
public void download()