-
public final class Downloader
-
-
Field Summary
Fields Modifier and Type Field Description private final Property<Instance>instanceprivate final Property<FilterFile>filterprivate final PackageDefinitiondefinitionprivate final Property<Boolean>cleanprivate final Property<Boolean>extractprivate final DirectoryPropertyextractDir
-
Constructor Summary
Constructors Constructor Description Downloader(AemExtension aem)
-
Method Summary
Modifier and Type Method Description final Unitdefinition(Function1<PackageDefinition, Unit> options)final Unitdownload()final Property<Instance>getInstance()Determines instance from which JCR content will be downloaded. final Property<FilterFile>getFilter()Determines VLT filter used to grab JCR content from AEM instance. final PackageDefinitiongetDefinition()Allows to configure downloaded package details. final Property<Boolean>getClean()Allows to delete existing contents before extracting downloaded one. final Property<Boolean>getExtract()Allows to disable extracting contents of download package to directory. final DirectoryPropertygetExtractDir()Path in which downloader JCR content will be extracted. -
-
Constructor Detail
-
Downloader
Downloader(AemExtension aem)
-
-
Method Detail
-
definition
final Unit definition(Function1<PackageDefinition, Unit> options)
-
getInstance
final Property<Instance> getInstance()
Determines instance from which JCR content will be downloaded.
-
getFilter
final Property<FilterFile> getFilter()
Determines VLT filter used to grab JCR content from AEM instance.
-
getDefinition
final PackageDefinition getDefinition()
Allows to configure downloaded package details.
-
getClean
final Property<Boolean> getClean()
Allows to delete existing contents before extracting downloaded one.
-
getExtract
final Property<Boolean> getExtract()
Allows to disable extracting contents of download package to directory.
-
getExtractDir
final DirectoryProperty getExtractDir()
Path in which downloader JCR content will be extracted.
-
-
-
-