common-plugin / com.cognifide.gradle.common.file.transfer.resolve / ResolveFileTransfer

ResolveFileTransfer

class ResolveFileTransfer : ProtocolFileTransfer

Constructors

<init>

ResolveFileTransfer(aem: CommonExtension)

Properties

name

Unique identifier.

val name: String

parallelable

Determines if operations using this transfer could be done in parallel.

val parallelable: Boolean

protocols

val protocols: List<String>

Functions

downloadFrom

Downloads file with given name from directory available at specified URL.

fun downloadFrom(dirUrl: String, fileName: String, target: File): Unit

handles

Checks if supports particular URL

fun handles(fileUrl: String): Boolean

resolve

fun resolve(value: Any): File

Companion Object Properties

NAME

const val NAME: String