public final class Mounter
extends java.lang.Object
mountpoint
and rooted at rootPath
.
For example if the mountpoint is http://.../test/export and the rootPath is /foo, then the filesystem's root node
has a internal repository path "/foo" that corresponds to the "real" repository node at "/test/export".
The workspace filter will be matched against the filesystem paths (e.g. /foo).Constructor and Description |
---|
Mounter() |
Modifier and Type | Method and Description |
---|---|
static VaultFileSystem |
mount(VaultFsConfig config,
WorkspaceFilter wspFilter,
RepositoryAddress mountpoint,
java.lang.String rootPath,
Session session)
Mounts a new Vault filesystem on the given repository node.
|
static VaultFileSystem |
mount(VaultFsConfig config,
WorkspaceFilter wspFilter,
Repository rep,
Credentials credentials,
RepositoryAddress mountpoint,
java.lang.String rootPath)
Mounts a new Vault filesystem that is rooted at the given path using
the provided repository, credentials and workspace to create the
session.
|
public static VaultFileSystem mount(VaultFsConfig config, WorkspaceFilter wspFilter, RepositoryAddress mountpoint, java.lang.String rootPath, Session session) throws RepositoryException, java.io.IOException
config
- vault fs configwspFilter
- the workspace filtermountpoint
- the address of the mountpointrootPath
- path of root file. used for remappingsession
- the repository sessionRepositoryException
- if an error occurs.java.io.IOException
- if an I/O error occurs.public static VaultFileSystem mount(VaultFsConfig config, WorkspaceFilter wspFilter, Repository rep, Credentials credentials, RepositoryAddress mountpoint, java.lang.String rootPath) throws RepositoryException, java.io.IOException
config
- vault fs configwspFilter
- the workspace filterrep
- the jcr repositorycredentials
- the credentialsmountpoint
- the repository address of the mountpointrootPath
- path of root file. used for remappingRepositoryException
- if an error occurs.java.io.IOException
- if an I/O error occurs.Copyright © 2010 - 2020 Adobe. All Rights Reserved