edu.isi.pegasus.planner.catalog.site.classes
Class FileSystemType

java.lang.Object
  extended by edu.isi.pegasus.planner.catalog.site.classes.SiteData
      extended by edu.isi.pegasus.planner.catalog.site.classes.AbstractSiteData
          extended by edu.isi.pegasus.planner.catalog.site.classes.FileSystemType
All Implemented Interfaces:
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 NameAttribute Description
mount-point the mount point for the filesystem

Version:
$Revision: 600 $
Author:
Karan Vahi

Field Summary
protected  String mFreeSize
          The free space on the file system.
protected  String mMountPoint
          The mount point for the file system.
protected  String mTotalSize
          The total size of file system.
 
Constructor Summary
FileSystemType()
          The default constructor.
FileSystemType(String mountPoint, String totalSize, String freeSize)
          The overloaded constructor.
 
Method Summary
 Object clone()
          Returns the clone of the object.
 String getFreeSize()
          Sets the free directory size
 String getMountPoint()
          Returns the mount point for the file system type.
 String getTotalSize()
          Returns the total directory size.
 void setFreeSize(String size)
          Sets the free directory size
 void setMountPoint(String point)
          Sets the mount point for the file system type.
 void setTotalSize(String size)
          Sets the directory size
 
Methods inherited from class edu.isi.pegasus.planner.catalog.site.classes.AbstractSiteData
toString, toXML, toXML, writeAttribute
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

mMountPoint

protected String mMountPoint
The mount point for the file system.


mTotalSize

protected String mTotalSize
The total size of file system.


mFreeSize

protected String mFreeSize
The free space on the file system.

Constructor Detail

FileSystemType

public FileSystemType()
The default constructor.


FileSystemType

public FileSystemType(String mountPoint,
                      String totalSize,
                      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(String point)
Sets the mount point for the file system type.

Parameters:
point - the mount point.

getMountPoint

public String getMountPoint()
Returns the mount point for the file system type.

Returns:
the mount point.

setTotalSize

public void setTotalSize(String size)
Sets the directory size

Parameters:
size - the directory size.

getTotalSize

public String getTotalSize()
Returns the total directory size.

Returns:
the directory size.

setFreeSize

public void setFreeSize(String size)
Sets the free directory size

Parameters:
size - the directory size.

getFreeSize

public String getFreeSize()
Sets the free directory size

Returns:
the directory size.

clone

public Object clone()
Returns the clone of the object.

Overrides:
clone in class AbstractSiteData
Returns:
the clone


Copyright © 2011 The University of Southern California. All Rights Reserved.