public interface Mount
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Name of the mount.
|
String |
getPathFragmentName()
Returns fragment name which can be used to construct node name
used for storing meta content belonging to path under this
Mount. |
boolean |
isDefault()
Checks whether current mount is the default mount.
|
boolean |
isDirectlyUnder(String path) |
boolean |
isMounted(String path)
Checks if given path belongs to this
Mount |
boolean |
isReadOnly()
Checks whether the mount is marked as read only.
|
boolean |
isSupportFragment()
Checks if this mount supports mounting nodes containing the path fragment
(see
getPathFragmentName()). |
boolean |
isUnder(String path)
Checks if this mount falls under given path.
|
String getName()
Mount
is the default mount, an empty string is returnedboolean isReadOnly()
boolean isDefault()
String getPathFragmentName()
Mount. Such a node name would be used by NodeStore
to determine the storage for nodes under those paths.
Fragment name is formatted as 'oak:mount-<mount name>'
For e.g. for mount name 'private' the fragment name would be
oak:mount-private. This can be then used to construct
node name like oak:mount-private-index and then any derived
content for path under this mount would be stored as child node under
oak:mount-private-index like /fooIndex/oak:mount-private-index/foo.
Such paths would then be stored in a separate store which would only be
storing paths belonging to that mount
If this Mount is the default mount, an empty string is returned
boolean isSupportFragment()
getPathFragmentName()).boolean isMounted(String path)
Mountpath - path to checkboolean isUnder(String path)
path - path to checkboolean isDirectlyUnder(String path)
"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"