|
||||||||||
| 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.FileSystemType
edu.isi.pegasus.planner.catalog.site.classes.InternalMountPoint
public class InternalMountPoint
A data class to signify the Internal Mount Point for a filesystem.
| Field Summary |
|---|
| Fields inherited from class edu.isi.pegasus.planner.catalog.site.classes.FileSystemType |
|---|
mFreeSize, mMountPoint, mTotalSize |
| Constructor Summary | |
|---|---|
InternalMountPoint()
The default constructor. |
|
InternalMountPoint(String mountPoint)
The overloaded constructor. |
|
InternalMountPoint(String mountPoint,
String totalSize,
String freeSize)
The overloaded constructor. |
|
| Method Summary | |
|---|---|
boolean |
isEmpty()
A convenience method that returns true if all the attributes values are uninitialized or empty strings. |
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.FileSystemType |
|---|
clone, getFreeSize, getMountPoint, getTotalSize, setFreeSize, setMountPoint, setTotalSize |
| 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 |
|---|
public InternalMountPoint()
public InternalMountPoint(String mountPoint)
mountPoint - the mount point of the system.
public InternalMountPoint(String mountPoint,
String totalSize,
String freeSize)
mountPoint - the mount point of the system.totalSize - the total size of the system.freeSize - the free size| Method Detail |
|---|
public boolean isEmpty()
public void toXML(Writer writer,
String indent)
throws IOException
toXML in class AbstractSiteDatawriter - is a Writer opened and ready for writing. This can also
be a StringWriter for efficient output.indent - the indent to use.
IOException - if something fishy happens to the stream.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||