goldengate.ftp.core.data
Class FtpTransfer

java.lang.Object
  extended by goldengate.ftp.core.data.FtpTransfer

public class FtpTransfer
extends Object

Class that owns one transfer to be run

Author:
Frederic Bregier

Constructor Summary
FtpTransfer(FtpCommandCode command, FtpFile file)
           
FtpTransfer(FtpCommandCode command, List<String> fileOrInfo, String path)
           
 
Method Summary
 FtpCommandCode getCommand()
           
 FtpFile getFtpFile()
           
 List<String> getInfo()
           
 String getPath()
           
 boolean getStatus()
           
 void setStatus(boolean status)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FtpTransfer

public FtpTransfer(FtpCommandCode command,
                   List<String> fileOrInfo,
                   String path)
Parameters:
command -
fileOrInfo -
path -

FtpTransfer

public FtpTransfer(FtpCommandCode command,
                   FtpFile file)
Parameters:
command -
file -
Method Detail

getCommand

public FtpCommandCode getCommand()
Returns:
the command

getFtpFile

public FtpFile getFtpFile()
                   throws FtpNoFileException
Returns:
the file
Throws:
FtpNoFileException

getInfo

public List<String> getInfo()
Returns:
the Info

getPath

public String getPath()
Returns:
the path

getStatus

public boolean getStatus()
Returns:
the status

setStatus

public void setStatus(boolean status)
Parameters:
status -

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.