Class FileSystemType
- java.lang.Object
-
- edu.isi.pegasus.planner.catalog.site.classes.SiteData
-
- edu.isi.pegasus.planner.catalog.site.classes.AbstractSiteData
-
- edu.isi.pegasus.planner.catalog.site.classes.FileSystemType
-
- All Implemented Interfaces:
java.lang.Cloneable
- Direct Known Subclasses:
InternalMountPoint
public abstract class FileSystemType extends AbstractSiteData
An abstract class describing a filesystem type.The various attributes that can be associated with the the server are displayed in the following table.
Attribute Name Attribute Description mount-point the mount point for the filesystem - Version:
- $Revision$
- Author:
- Karan Vahi
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringmFreeSizeThe free space on the file system.protected java.lang.StringmMountPointThe mount point for the file system.protected java.lang.StringmTotalSizeThe total size of file system.
-
Constructor Summary
Constructors Constructor Description FileSystemType()The default constructor.FileSystemType(java.lang.String mountPoint, java.lang.String totalSize, java.lang.String freeSize)The overloaded constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()Returns the clone of the object.java.lang.StringgetFreeSize()Sets the free directory sizejava.lang.StringgetMountPoint()Returns the mount point for the file system type.java.lang.StringgetTotalSize()Returns the total directory size.voidsetFreeSize(java.lang.String size)Sets the free directory sizevoidsetMountPoint(java.lang.String point)Sets the mount point for the file system type.voidsetTotalSize(java.lang.String size)Sets the directory size-
Methods inherited from class edu.isi.pegasus.planner.catalog.site.classes.AbstractSiteData
accept, toString, toXML, toXML, writeAttribute
-
-
-
-
Constructor Detail
-
FileSystemType
public FileSystemType()
The default constructor.
-
FileSystemType
public FileSystemType(java.lang.String mountPoint, java.lang.String totalSize, java.lang.String freeSize)The overloaded constructor.- Parameters:
mountPoint- the mount point of the system.totalSize- the total size of the system.freeSize- the free size
-
-
Method Detail
-
setMountPoint
public void setMountPoint(java.lang.String point)
Sets the mount point for the file system type.- Parameters:
point- the mount point.
-
getMountPoint
public java.lang.String getMountPoint()
Returns the mount point for the file system type.- Returns:
- the mount point.
-
setTotalSize
public void setTotalSize(java.lang.String size)
Sets the directory size- Parameters:
size- the directory size.
-
getTotalSize
public java.lang.String getTotalSize()
Returns the total directory size.- Returns:
- the directory size.
-
setFreeSize
public void setFreeSize(java.lang.String size)
Sets the free directory size- Parameters:
size- the directory size.
-
getFreeSize
public java.lang.String getFreeSize()
Sets the free directory size- Returns:
- the directory size.
-
clone
public java.lang.Object clone()
Returns the clone of the object.- Overrides:
clonein classAbstractSiteData- Returns:
- the clone
-
-