Class MultiPathMapping
java.lang.Object
org.apache.jackrabbit.vault.fs.api.MultiPathMapping
- All Implemented Interfaces:
PathMapping
Implements a path mapping that supports multiple symlinks
- Since:
- 3.1.10
-
Field Summary
Fields inherited from interface org.apache.jackrabbit.vault.fs.api.PathMapping
IDENTITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates a new link from the pathsrcto the pathdst@NotNull StringMaps the given path to a new location.@NotNull StringMaps the given path to a new location.@NotNull MultiPathMappingmerge(@Nullable MultiPathMapping base) Merges the links from the given base mapping
-
Constructor Details
-
MultiPathMapping
public MultiPathMapping()
-
-
Method Details
-
link
Creates a new link from the pathsrcto the pathdst- Parameters:
src- source pathdst- destination path- Returns:
- this
-
merge
Merges the links from the given base mapping- Parameters:
base- base mapping- Returns:
- this
-
map
Maps the given path to a new location.- Specified by:
mapin interfacePathMapping- Parameters:
path- the path- Returns:
- the mapped path.
-
map
Maps the given path to a new location.- Specified by:
mapin interfacePathMapping- Parameters:
path- the pathreverse- iftruea reverse mapping is applied- Returns:
- the mapped path.
-