enum class Source
AUTO |
Create instances from most recent backup (local or remote) or fallback to creating from the scratch if there is no backup available. |
SCRATCH |
Force creating instances from the scratch. |
BACKUP_ANY |
Force using backup from any source. |
BACKUP_REMOTE |
Force using backup available at remote source (available by using 'localInstance.backup.downloadUrl' or 'localInstance.backup.uploadUrl'). |
BACKUP_LOCAL |
Force using local backup (created by task 'instanceBackup'). |
of |
fun of(name: String): Source |