|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.wso2.carbon.registry.core.config.Mount
public class Mount
This class is represents a mount defined in the registry.xml file.
<mount
path="/localPath"> <instanceId>instanceId</instanceId>
<targetPath>/remotePath</targetPath> </mount>
Constructor Summary | |
---|---|
Mount()
|
Method Summary | |
---|---|
java.lang.String |
getInstanceId()
Method to obtain the database configuration instance identifier used by the mount. |
java.lang.String |
getPath()
Method to obtain the local path of the mount. |
java.lang.String |
getTargetPath()
Method to obtain the remote path of the mount. |
boolean |
isOverwrite()
Method to obtain whether an existing resource/collection is overwritten when creating a new mount. |
boolean |
isVirtual()
Method to obtain whether the created mount is a virtual replacement to an existing physical path. |
void |
setInstanceId(java.lang.String instanceId)
Method to set the database configuration instance identifier used by the mount. |
void |
setOverwrite(boolean overwrite)
Method to set whether an existing resource/collection is overwritten when creating a new mount. |
void |
setPath(java.lang.String path)
Method to set the local path of the mount. |
void |
setTargetPath(java.lang.String targetPath)
Method to set the remote path of the mount. |
void |
setVirtual(boolean virtual)
Method to set whether the created mount is a virtual replacement to an existing physical path. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Mount()
Method Detail |
---|
public java.lang.String getPath()
public void setPath(java.lang.String path)
path
- the local path of the mount.public java.lang.String getInstanceId()
public void setInstanceId(java.lang.String instanceId)
instanceId
- the database configuration instance identifier used by the mount.public java.lang.String getTargetPath()
public void setTargetPath(java.lang.String targetPath)
targetPath
- the remote path of the mount.public boolean isOverwrite()
public void setOverwrite(boolean overwrite)
overwrite
- whether an existing resource/collection is overwritten when creating a new
mount.public boolean isVirtual()
public void setVirtual(boolean virtual)
virtual
- whether the created mount is a virtual replacement to an existing physical
path.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |