public class Mount extends Object
| Constructor and Description |
|---|
Mount() |
| Modifier and Type | Method and Description |
|---|---|
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 |
isExecuteQueryAllowed()
Method to get whether an execute queries are allowed to run on this 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 |
setExecuteQueryAllowed(boolean isExecuteQueryAllowed)
Method to set whether an execute queries are allowed to run on this mount
|
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.
|
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.public boolean isExecuteQueryAllowed()
public void setExecuteQueryAllowed(boolean isExecuteQueryAllowed)
isExecuteQueryAllowed - whether an execute queries are allowed or not.Copyright © 2016 WSO2 Inc. All Rights Reserved.