edu.isi.pegasus.planner.catalog.site.classes
public class FileServer extends FileServerType
FileServerType.OPERATION
mMountPoint, mOperation, mProfiles, mProtocol, mURLPrefix
Constructor and Description |
---|
FileServer()
The default constructor.
|
FileServer(String protocol,
String urlPrefix,
String mountPoint)
Overloaded constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(SiteDataVisitor visitor)
Accept method for the SiteData classes that accepts a visitor
|
Profiles |
getProfiles()
Returns the associated profiles
|
String |
getURL()
Returns the externally accessible URL composed of url prefix and the
mount point
|
void |
toXML(Writer writer,
String indent)
Writes out the xml description of the object.
|
addProfile, clone, getMountPoint, getProtocol, getSupportedOperation, getURLPrefix, setMountPoint, setProfiles, setProtocol, setSupportedOperation, setURLPrefix
toString, toXML, writeAttribute
public String getURL()
public void toXML(Writer writer, String indent) throws IOException
toXML
in class AbstractSiteData
writer
- is a Writer opened and ready for writing. This can also
be a StringWriter for efficient output.indent
- the indent to be used.IOException
- if something fishy happens to the stream.public void accept(SiteDataVisitor visitor) throws IOException
AbstractSiteData
accept
in class AbstractSiteData
visitor
- IOException
- if something fishy happens to the stream.public Profiles getProfiles()