public abstract class FileServerType extends AbstractSiteData
Modifier and Type | Class and Description |
---|---|
static class |
FileServerType.OPERATION
The operations supported by the file server
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
mMountPoint
The mount point for the server.
|
protected FileServerType.OPERATION |
mOperation
The operations supported by the file server
|
protected Profiles |
mProfiles
The profiles associated with the FileSystem.
|
protected java.lang.String |
mProtocol
The protocol used by the file server.
|
protected java.lang.String |
mURLPrefix
The URL prefix for the server.
|
Constructor and Description |
---|
FileServerType()
The default constructor.
|
FileServerType(java.lang.String protocol,
java.lang.String urlPrefix,
java.lang.String mountPoint)
Overloaded constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addProfile(Profile p)
Adds a profile.
|
java.lang.Object |
clone()
Returns the clone of the object.
|
java.lang.String |
getMountPoint()
Returns the mount point
|
java.lang.String |
getProtocol()
Returns protocol implemented by the file server.
|
FileServerType.OPERATION |
getSupportedOperation()
Returns the operation supported by the file server
|
java.lang.String |
getURLPrefix()
Returns the url prefix .
|
void |
setMountPoint(java.lang.String point)
Returns the mount point.
|
void |
setProfiles(Profiles profiles)
Sets the profiles associated with the file server.
|
void |
setProtocol(java.lang.String protocol)
Set the protocol implemented by the file server.
|
void |
setSupportedOperation(FileServerType.OPERATION operation)
The operation supported by the file server
|
void |
setURLPrefix(java.lang.String prefix)
Sets the url prefix .
|
accept, toString, toXML, toXML, writeAttribute
protected java.lang.String mProtocol
protected java.lang.String mURLPrefix
protected java.lang.String mMountPoint
protected Profiles mProfiles
protected FileServerType.OPERATION mOperation
public FileServerType()
public FileServerType(java.lang.String protocol, java.lang.String urlPrefix, java.lang.String mountPoint)
protocol
- protocol employed by the File Server.urlPrefix
- the url prefixmountPoint
- the mount point for the server.public void setProtocol(java.lang.String protocol)
protocol
- the protocolpublic java.lang.String getProtocol()
public void setURLPrefix(java.lang.String prefix)
prefix
- the url prefixpublic java.lang.String getURLPrefix()
public void setMountPoint(java.lang.String point)
point
- the mount point.public java.lang.String getMountPoint()
public void setSupportedOperation(FileServerType.OPERATION operation)
operation
- the supported operationpublic FileServerType.OPERATION getSupportedOperation()
public void addProfile(Profile p)
p
- the profile to be addedpublic void setProfiles(Profiles profiles)
profiles
- the profiles.public java.lang.Object clone()
clone
in class AbstractSiteData