public class WorkerSharedDirectory extends DirectoryLayout
mFileServers, mInternalMount
Constructor and Description |
---|
WorkerSharedDirectory()
The default constructor.
|
WorkerSharedDirectory(java.util.Map<FileServerType.OPERATION,java.util.List<FileServer>> fs,
InternalMountPoint imt)
The overloaded constructor
|
Modifier and Type | Method and Description |
---|---|
void |
accept(SiteDataVisitor visitor)
Accept method for the SiteData classes that accepts a visitor
|
void |
toXML(java.io.Writer writer,
java.lang.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 WorkerSharedDirectory()
public WorkerSharedDirectory(java.util.Map<FileServerType.OPERATION,java.util.List<FileServer>> fs, InternalMountPoint imt)
fs
- list of file serversimt
- the internal mount point.public void toXML(java.io.Writer writer, java.lang.String indent) throws java.io.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.java.io.IOException
- if something fishy happens to the stream.public void accept(SiteDataVisitor visitor)
AbstractSiteData
accept
in class AbstractSiteData
visitor
- the visitor to be used