aem-plugin / com.cognifide.gradle.aem.common.instance.local / BackupResolver

BackupResolver

class BackupResolver

Constructors

<init>

BackupResolver(aem: AemExtension)

Properties

any

Backup file from any source (local & remote sources).

val any: File?

downloadUrl

URL to remote backup file.

var downloadUrl: String?

local

Backup file from local source.

val local: File?

localDir

Directory storing locally created backup files.

var localDir: File

namer

Defines backup file naming rule. Must be in sync with selector rule.

var namer: () -> String

remote

Backup file from remote source.

val remote: File?

remoteDir

Directory storing downloaded remote backup files.

var remoteDir: File

selector

Defines backup source selection rule.

var selector: Collection<BackupSource>.() -> BackupSource?

suffix

File suffix indicating instance backup file.

var suffix: String

uploadUrl

URL to remote directory in which backup files are stored.

var uploadUrl: String?