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

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.FileServerType
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
FileServer

public abstract class FileServerType
extends AbstractSiteData

An abstract class that describes a file server that can be used to stage data to and from a site.

Version:
$Revision: 2572 $
Author:
Karan Vahi

Field Summary
protected  String mMountPoint
          The mount point for the server.
protected  Profiles mProfiles
          The profiles associated with the FileSystem.
protected  String mProtocol
          The protocol used by the file server.
protected  String mURLPrefix
          The URL prefix for the server.
 
Constructor Summary
FileServerType()
          The default constructor.
FileServerType(String protocol, String urlPrefix, String mountPoint)
          Overloaded constructor.
 
Method Summary
 void addProfile(Profile p)
          Adds a profile.
 Object clone()
          Returns the clone of the object.
 String getMountPoint()
          Returns the mount point
 String getProtocol()
          Returns protocol implemented by the file server.
 String getURLPrefix()
          Returns the url prefix .
 void setMountPoint(String point)
          Returns the mount point.
 void setProfiles(Profiles profiles)
          Sets the profiles associated with the file server.
 void setProtocol(String protocol)
          Set the protocol implemented by the file server.
 void setURLPrefix(String prefix)
          Sets the url prefix .
 
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

mProtocol

protected String mProtocol
The protocol used by the file server.


mURLPrefix

protected String mURLPrefix
The URL prefix for the server.


mMountPoint

protected String mMountPoint
The mount point for the server.


mProfiles

protected Profiles mProfiles
The profiles associated with the FileSystem.

Constructor Detail

FileServerType

public FileServerType()
The default constructor.


FileServerType

public FileServerType(String protocol,
                      String urlPrefix,
                      String mountPoint)
Overloaded constructor.

Parameters:
protocol - protocol employed by the File Server.
urlPrefix - the url prefix
mountPoint - the mount point for the server.
Method Detail

setProtocol

public void setProtocol(String protocol)
Set the protocol implemented by the file server.

Parameters:
protocol - the protocol

getProtocol

public String getProtocol()
Returns protocol implemented by the file server.

Returns:
protocol

setURLPrefix

public void setURLPrefix(String prefix)
Sets the url prefix .

Parameters:
prefix - the url prefix

getURLPrefix

public String getURLPrefix()
Returns the url prefix .

Returns:
the url prefix

setMountPoint

public void setMountPoint(String point)
Returns the mount point.

Parameters:
point - the mount point.

getMountPoint

public String getMountPoint()
Returns the mount point

Returns:
the mount point.

addProfile

public void addProfile(Profile p)
Adds a profile.

Parameters:
p - the profile to be added

setProfiles

public void setProfiles(Profiles profiles)
Sets the profiles associated with the file server.

Parameters:
profiles - the profiles.

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.