public class FileTransferFactory
Allows to create separate file transfer of same type but with different settings.
Useful in task scripting to communicate with multiple remote servers.
| Constructor and Description |
|---|
FileTransferFactory(AemExtension aem)
Allows to create separate file transfer of same type but with different settings.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
http(kotlin.jvm.functions.Function1<? super com.cognifide.gradle.aem.common.file.transfer.http.HttpFileTransfer,? extends T> options) |
<T> T |
sftp(kotlin.jvm.functions.Function1<? super com.cognifide.gradle.aem.common.file.transfer.sftp.SftpFileTransfer,? extends T> options) |
<T> T |
smb(kotlin.jvm.functions.Function1<? super com.cognifide.gradle.aem.common.file.transfer.smb.SmbFileTransfer,? extends T> options) |
public FileTransferFactory(@NotNull
AemExtension aem)
Allows to create separate file transfer of same type but with different settings.
Useful in task scripting to communicate with multiple remote servers.
public <T> T http(@NotNull
kotlin.jvm.functions.Function1<? super com.cognifide.gradle.aem.common.file.transfer.http.HttpFileTransfer,? extends T> options)
public <T> T sftp(@NotNull
kotlin.jvm.functions.Function1<? super com.cognifide.gradle.aem.common.file.transfer.sftp.SftpFileTransfer,? extends T> options)
public <T> T smb(@NotNull
kotlin.jvm.functions.Function1<? super com.cognifide.gradle.aem.common.file.transfer.smb.SmbFileTransfer,? extends T> options)