@ProviderType
public interface MountInfoProvider
Mounts configured in a ContentRepository.
The configuration may either be trivial - only a default mount is configured, or defining at least one non-default mount.
| Modifier and Type | Method and Description |
|---|---|
@NotNull Mount |
getDefaultMount()
Returns the default mount
|
@Nullable Mount |
getMountByName(java.lang.String name)
Returns the mount instance for given mount name
|
@NotNull Mount |
getMountByPath(java.lang.String path)
Maps a given path to logical store name.
|
@NotNull java.util.Collection<Mount> |
getMountsPlacedDirectlyUnder(java.lang.String path)
Returns all mounts placed directly under the specified path
|
@NotNull java.util.Collection<Mount> |
getMountsPlacedUnder(java.lang.String path)
Returns all mounts placed under the specified path
|
@NotNull java.util.Collection<Mount> |
getNonDefaultMounts()
Set of non default mount points configured for the setup
|
boolean |
hasNonDefaultMounts()
Return true if there are explicit mounts configured
|
@NotNull @NotNull Mount getMountByPath(java.lang.String path)
path - node path for which backing store location is to be determined@NotNull @NotNull java.util.Collection<Mount> getNonDefaultMounts()
@Nullable @Nullable Mount getMountByName(java.lang.String name)
name - name of the mountnull would be returnedboolean hasNonDefaultMounts()
@NotNull @NotNull java.util.Collection<Mount> getMountsPlacedUnder(java.lang.String path)
path - the path under which mounts are to be foundMount.isUnder(String)@NotNull @NotNull java.util.Collection<Mount> getMountsPlacedDirectlyUnder(java.lang.String path)
path - the path under which mounts are to be foudMount.isDirectlyUnder(String)@NotNull @NotNull Mount getDefaultMount()
Copyright © 2010 - 2023 Adobe. All Rights Reserved