|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.isi.pegasus.planner.catalog.site.classes.SiteData
edu.isi.pegasus.planner.catalog.site.classes.AbstractSiteData
edu.isi.pegasus.planner.catalog.site.classes.StorageType
public class StorageType
An Abstract Data class to describe the filesystem layout on a site, both shared and local on a site/node
| Field Summary | |
|---|---|
protected LocalDirectory |
mLocalDirectory
The local directory on the node. |
protected SharedDirectory |
mSharedDirectory
The shared directory on the node. |
| Constructor Summary | |
|---|---|
StorageType()
The default constructor |
|
StorageType(LocalDirectory local,
SharedDirectory shared)
The overloaded constructor. |
|
| Method Summary | |
|---|---|
Object |
clone()
Returns the clone of the object. |
LocalDirectory |
getLocalDirectory()
Returns the local directory. |
SharedDirectory |
getSharedDirectory()
Returns the shared directory. |
FileServer |
selectLocalFileServer()
Selects a FileServer associated with the Local Directory. |
FileServer |
selectSharedFileServer()
Selects a FileServer associated with the Shared Directory. |
void |
setLocalDirectory(LocalDirectory local)
Sets the local directory. |
void |
setSharedDirectory(SharedDirectory shared)
Sets the shared directory. |
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.AbstractSiteData |
|---|
toString, toXML, writeAttribute |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected LocalDirectory mLocalDirectory
protected SharedDirectory mSharedDirectory
| Constructor Detail |
|---|
public StorageType()
public StorageType(LocalDirectory local,
SharedDirectory shared)
local - the local directory on the node.shared - the shared directory on the node.| Method Detail |
|---|
public void setLocalDirectory(LocalDirectory local)
local - the local directory.public LocalDirectory getLocalDirectory()
public FileServer selectLocalFileServer()
FileServer associated with the Local Directory.
public FileServer selectSharedFileServer()
FileServer associated with the Shared Directory.
public void setSharedDirectory(SharedDirectory shared)
shared - the shared directory.public SharedDirectory getSharedDirectory()
public Object clone()
clone in class AbstractSiteData
public void toXML(Writer writer,
String indent)
throws IOException
AbstractSiteData
toXML in class AbstractSiteDatawriter - indent -
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||