org.globus.cog.abstraction.interfaces
Interface FileTransferSpecification

All Superinterfaces:
Specification
All Known Implementing Classes:
FileTransferSpecificationImpl

public interface FileTransferSpecification
extends Specification

The FileTransferSpecification represents all the parameters required for the Grid file transfer Task. The source and destination file URLs can be formulated by specifying individual elements such as hostname, port, directory, and file; or by specifying the complete URL string.


Field Summary
 
Fields inherited from interface org.globus.cog.abstraction.interfaces.Specification
FILE_OPERATION, FILE_TRANSFER, JOB_SUBMISSION
 
Method Summary
 Enumeration getAllAttributes()
           
 Object getAttribute(String name)
           
 String getDestination()
          Returns the entire source URL string
 String getDestinationDirectory()
          Returns the absolute path name of the directory containing the destination file
 String getDestinationFile()
          Returns the name of the destination file
 String getSource()
          Returns the entire source URL string
 String getSourceDirectory()
          Returns the absolute path name of the directory containing the source file
 String getSourceFile()
          Returns the name of the source file
 boolean isThirdParty()
          Checks if the transfer is a third party file transfer.
 void setAttribute(String name, Object value)
           
 void setDestination(String destination)
          Sets the entire destination URL string.
 void setDestinationDirectory(String directory)
          Sets the absolute path name of the directory containing the destination file
 void setDestinationFile(String file)
          Sets the name of the destination file
 void setSource(String source)
          Sets the entire source URL string
 void setSourceDirectory(String directory)
          Sets the absolute path name of the directory containing the source file
 void setSourceFile(String file)
          Sets the name of the source file
 void setThirdParty(boolean bool)
          Specifies if this is a third party transfer.
 
Methods inherited from interface org.globus.cog.abstraction.interfaces.Specification
getSpecification, getType, setSpecification, setType
 

Method Detail

setSourceDirectory

public void setSourceDirectory(String directory)
Sets the absolute path name of the directory containing the source file


getSourceDirectory

public String getSourceDirectory()
Returns the absolute path name of the directory containing the source file


setDestinationDirectory

public void setDestinationDirectory(String directory)
Sets the absolute path name of the directory containing the destination file


getDestinationDirectory

public String getDestinationDirectory()
Returns the absolute path name of the directory containing the destination file


setSourceFile

public void setSourceFile(String file)
Sets the name of the source file


getSourceFile

public String getSourceFile()
Returns the name of the source file


setDestinationFile

public void setDestinationFile(String file)
Sets the name of the destination file


getDestinationFile

public String getDestinationFile()
Returns the name of the destination file


setSource

public void setSource(String source)
Sets the entire source URL string


getSource

public String getSource()
Returns the entire source URL string


setDestination

public void setDestination(String destination)
Sets the entire destination URL string.


getDestination

public String getDestination()
Returns the entire source URL string


setThirdParty

public void setThirdParty(boolean bool)
Specifies if this is a third party transfer. For third party transfers, both, the source and dsetination file servers need to be remote servers.


isThirdParty

public boolean isThirdParty()
Checks if the transfer is a third party file transfer.


setAttribute

public void setAttribute(String name,
                         Object value)

getAttribute

public Object getAttribute(String name)

getAllAttributes

public Enumeration getAllAttributes()