edu.isi.pegasus.planner.catalog.site.classes
public class LocalDirectory extends DirectoryLayout
mFileServers, mInternalMount
Constructor and Description |
---|
LocalDirectory()
The default constructor.
|
LocalDirectory(Map<FileServerType.OPERATION,List<FileServer>> fs,
InternalMountPoint imt)
The overloaded constructor
|
Modifier and Type | Method and Description |
---|---|
void |
accept(SiteDataVisitor visitor)
Accepts the visitor and calls visit method on the visitor accordingly
|
void |
toXML(Writer writer,
String indent)
Writes out the xml description of the object.
|
addFileServer, clone, getFileServers, getFileServersIterator, getInternalMountPoint, hasFileServerForGETOperations, hasFileServerForOperations, hasFileServerForPUTOperations, isEmpty, resetFileServers, selectFileServer, setFileServers, setInternalMountPoint
toString, toXML, writeAttribute
public LocalDirectory()
public LocalDirectory(Map<FileServerType.OPERATION,List<FileServer>> fs, InternalMountPoint imt)
fs
- list of file serversimt
- the internal mount point.public void toXML(Writer writer, String indent) throws IOException
toXML
in class AbstractSiteData
writer
- is a Writer opened and ready for writing. This can also
be a StringWriter for efficient output.indent
- the indent to be used.IOException
- if something fishy happens to the stream.public void accept(SiteDataVisitor visitor) throws IOException
accept
in class AbstractSiteData
visitor
- IOException
- if something fishy happens to the stream.