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 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 String |
mProtocol
The protocol used by the file server.
|
protected String |
mURLPrefix
The URL prefix for the server.
|
Constructor and Description |
---|
FileServerType()
The default constructor.
|
FileServerType(String protocol,
String urlPrefix,
String mountPoint)
Overloaded constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
FileServerType.OPERATION |
getSupportedOperation()
Returns the operation supported 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 |
setSupportedOperation(FileServerType.OPERATION operation)
The operation supported by the file server
|
void |
setURLPrefix(String prefix)
Sets the url prefix .
|
accept, toString, toXML, toXML, writeAttribute
protected String mProtocol
protected String mURLPrefix
protected String mMountPoint
protected Profiles mProfiles
protected FileServerType.OPERATION mOperation
public void setProtocol(String protocol)
protocol
- the protocolpublic String getProtocol()
public void setURLPrefix(String prefix)
prefix
- the url prefixpublic String getURLPrefix()
public void setMountPoint(String point)
point
- the mount point.public 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 Object clone()
clone
in class AbstractSiteData