Package 

Class FileTransferFactory


  • 
    public final 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.

    • Method Summary

      Modifier and Type Method Description
      final <T extends Any> T http(Function1<HttpFileTransfer, T> options)
      final <T extends Any> T sftp(Function1<SftpFileTransfer, T> options)
      final <T extends Any> T smb(Function1<SmbFileTransfer, T> options)
      • Methods inherited from class com.cognifide.gradle.common.file.transfer.FileTransferFactory

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait