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

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.DirectoryType
              extended by edu.isi.pegasus.planner.catalog.site.classes.LocalDirectory
All Implemented Interfaces:
Cloneable

public class LocalDirectory
extends DirectoryType

This data class represents a local directory on a site. Can be local scratch or local storage.

Version:
$Revision: 600 $
Author:
Karan Vahi

Field Summary
 
Fields inherited from class edu.isi.pegasus.planner.catalog.site.classes.DirectoryType
mFileServers, mInternalMount
 
Constructor Summary
LocalDirectory()
          The default constructor.
LocalDirectory(List<FileServer> fs, InternalMountPoint imt)
          The 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.DirectoryType
addFileServer, clone, getFileServersIterator, getInternalMountPoint, initialize, initialize, isEmpty, selectFileServer, setFileServers, setInternalMountPoint
 
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

LocalDirectory

public LocalDirectory()
The default constructor.


LocalDirectory

public LocalDirectory(List<FileServer> fs,
                      InternalMountPoint imt)
The overloaded constructor

Parameters:
fs - list of file servers
imt - the internal mount point.
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.