public interface AggregateManager extends NodeTypesCollector
AggregateManager
...Modifier and Type | Method and Description |
---|---|
void |
dumpConfig(java.io.PrintWriter out)
Dumps the configuration to the given writer for debugging purposes.
|
Aggregator |
getAggregator(Node node,
java.lang.String path)
Returns the aggregator for the given node or
null if none
found. |
VaultFsConfig |
getConfig()
Returns the config
|
RepositoryAddress |
getMountpoint()
Returns the repository address of the mountpoint of this artifacts node
tree.
|
Aggregate |
getRoot()
Returns the root aggregate of the tree
|
Session |
getSession()
Returns the session of this manager.
|
java.lang.String |
getUserId()
Returns the user id of the session of this manager.
|
java.lang.String |
getWorkspace()
Returns the name of the workspace of this manager.
|
WorkspaceFilter |
getWorkspaceFilter()
Returns the workspace filter.
|
boolean |
isMounted()
Checks if this tree is still mounted and if the attached session
is still live.
|
void |
startTracking(ProgressTrackerListener listener)
Starts tracking aggregate lifecycles
|
void |
stopTracking()
Stops tracking of aggregate lifecycle
|
void |
unmount()
Releases all resources attached to this artifact manager
|
addNodeTypes, getNodeTypes
void unmount() throws RepositoryException
RepositoryException
- if an error occurs.Aggregate getRoot() throws RepositoryException
RepositoryException
- if an error occurs.RepositoryAddress getMountpoint()
Aggregator getAggregator(Node node, java.lang.String path) throws RepositoryException
null
if none
found.node
- for which the aggregator is to be returnedpath
- the path of the node or null
null
RepositoryException
- if a repository error occurs.WorkspaceFilter getWorkspaceFilter()
boolean isMounted()
true
if still mountedjava.lang.String getUserId() throws RepositoryException
RepositoryException
- if an error occurs.java.lang.String getWorkspace() throws RepositoryException
RepositoryException
- if an error occurs.Session getSession()
VaultFsConfig getConfig()
void dumpConfig(java.io.PrintWriter out) throws java.io.IOException
out
- the writerjava.io.IOException
- if an I/O error occursvoid startTracking(ProgressTrackerListener listener)
listener
- optional listenervoid stopTracking()
Copyright © 2010 - 2020 Adobe. All Rights Reserved