edu.isi.pegasus.planner.catalog.site.classes
public class Directory extends DirectoryLayout
| Modifier and Type | Class and Description |
|---|---|
static class |
Directory.TYPE
Enumerates the new directory types supported in this schema
|
| Modifier and Type | Field and Description |
|---|---|
private Directory.TYPE |
mType
The type of directory
|
mFileServers, mInternalMount| Constructor and Description |
|---|
Directory()
Default constructor
|
Directory(DirectoryLayout directory,
Directory.TYPE type)
Convenience constructor for adapter class
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(SiteDataVisitor visitor)
Accept method for the SiteData classes that accepts a visitor
|
Object |
clone()
Returns the clone of the object.
|
Directory.TYPE |
getType()
Set the type of directory
|
void |
setType(Directory.TYPE type)
Set the type of directory
|
void |
setType(String type)
Set the type of directory
|
void |
toXML(Writer writer,
String indent)
Writes out the xml description of the object.
|
addFileServer, getFileServers, getFileServersIterator, getInternalMountPoint, hasFileServerForGETOperations, hasFileServerForOperations, hasFileServerForPUTOperations, isEmpty, resetFileServers, selectFileServer, setFileServers, setInternalMountPointtoString, toXML, writeAttributeprivate Directory.TYPE mType
public Directory()
public Directory(DirectoryLayout directory, Directory.TYPE type)
directory - the directory layout objecttype - the type associatedpublic void accept(SiteDataVisitor visitor) throws IOException
accept in class AbstractSiteDatavisitor - the visitor to be usedIOException - if something fishy happens to the stream.public void setType(String type)
type - the type of directorypublic void setType(Directory.TYPE type)
type - the type of directorypublic Directory.TYPE getType()
public void toXML(Writer writer, String indent) throws IOException
AbstractSiteDatatoXML in class AbstractSiteDatawriter - indent - IOExceptionpublic Object clone()
clone in class DirectoryLayout