edu.isi.pegasus.planner.catalog.site.classes
Class FileServer

java.lang.Object
  extended by edu.isi.pegasus.planner.catalog.site.classes.SiteData
      extended by edu.isi.pegasus.planner.catalog.site.classes.AbstractSiteData
          extended by edu.isi.pegasus.planner.catalog.site.classes.FileServerType
              extended by edu.isi.pegasus.planner.catalog.site.classes.FileServer
All Implemented Interfaces:
Cloneable

public class FileServer
extends FileServerType

This class describes a file server that can be used to stage data to and from a site.

Author:
Karan Vahi

Field Summary
 
Fields inherited from class edu.isi.pegasus.planner.catalog.site.classes.FileServerType
mMountPoint, mProfiles, mProtocol, mURLPrefix
 
Constructor Summary
FileServer()
          The default constructor.
FileServer(String protocol, String urlPrefix, String mountPoint)
          Overloaded constructor.
 
Method Summary
 void toXML(Writer writer, String indent)
          Writes out the xml description of the object.
 
Methods inherited from class edu.isi.pegasus.planner.catalog.site.classes.FileServerType
addProfile, clone, getMountPoint, getProtocol, getURLPrefix, setMountPoint, setProfiles, setProtocol, setURLPrefix
 
Methods inherited from class edu.isi.pegasus.planner.catalog.site.classes.AbstractSiteData
toString, toXML, writeAttribute
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileServer

public FileServer()
The default constructor.


FileServer

public FileServer(String protocol,
                  String urlPrefix,
                  String mountPoint)
Overloaded constructor.

Parameters:
protocol - protocol employed by the File Server.
urlPrefix - the url prefix
mountPoint - the mount point for the server.
Method Detail

toXML

public void toXML(Writer writer,
                  String indent)
           throws IOException
Writes out the xml description of the object.

Specified by:
toXML in class AbstractSiteData
Parameters:
writer - is a Writer opened and ready for writing. This can also be a StringWriter for efficient output.
indent - the indent to be used.
Throws:
IOException - if something fishy happens to the stream.


Copyright © 2011 The University of Southern California. All Rights Reserved.