|
||||||||||
| 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 | |
|---|---|
String |
getInstanceId()
Method to obtain the database configuration instance identifier used by the mount. |
String |
getPath()
Method to obtain the local path of the mount. |
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(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(String path)
Method to set the local path of the mount. |
void |
setTargetPath(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 String getPath()
public void setPath(String path)
path - the local path of the mount.public String getInstanceId()
public void setInstanceId(String instanceId)
instanceId - the database configuration instance identifier used by the mount.public String getTargetPath()
public void setTargetPath(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 | |||||||||