INodeCountVisitor, NamespacePrintVisitorpublic interface NamespaceVisitor
| Modifier and Type | Interface | Description |
|---|---|---|
static class |
NamespaceVisitor.Element |
Snapshot and INode.
|
static interface |
NamespaceVisitor.INodeVisitor |
For visiting any
INode. |
| Modifier and Type | Method | Description |
|---|---|---|
static java.lang.Iterable<NamespaceVisitor.Element> |
getChildren(INodeDirectory dir,
int snapshot) |
|
default NamespaceVisitor.INodeVisitor |
getDefaultVisitor() |
|
static java.lang.Iterable<NamespaceVisitor.Element> |
getSnapshots(DirectorySnapshottableFeature snapshottable) |
|
default void |
postVisitReferred(INode referred) |
Right after visiting the given referred
INode. |
default void |
postVisitSub(NamespaceVisitor.Element sub,
int index,
boolean isLast) |
Right after visiting the given sub
NamespaceVisitor.Element. |
default void |
preVisitReferred(INode referred) |
Right before visiting the given referred
INode. |
default void |
preVisitSub(NamespaceVisitor.Element sub,
int index,
boolean isLast) |
Right before visiting the given sub
NamespaceVisitor.Element. |
default void |
visitDirectory(INodeDirectory dir,
int snapshot) |
Visiting the given
INodeDirectory (non-recursively). |
default void |
visitDirectoryRecursively(INodeDirectory dir,
int snapshot) |
First visit the given
INodeDirectory;
then the children;
and then, if snapshottable, the snapshots. |
default void |
visitFile(INodeFile file,
int snapshot) |
Visiting the given
INodeFile. |
default void |
visitReference(INodeReference ref,
int snapshot) |
Visiting the given
INodeReference (non-recursively). |
default void |
visitReferenceRecursively(INodeReference ref,
int snapshot) |
First visit the given
INodeReference and then the referred. |
default void |
visitSnapshottable(INodeDirectory dir,
DirectorySnapshottableFeature snapshottable) |
Visiting a
DirectorySnapshottableFeature. |
default void |
visitSubs(java.lang.Iterable<NamespaceVisitor.Element> subs) |
Visiting the sub
NamespaceVisitor.Elements recursively. |
default void |
visitSymlink(INodeSymlink symlink,
int snapshot) |
Visiting the given
INodeSymlink. |
default NamespaceVisitor.INodeVisitor getDefaultVisitor()
NamespaceVisitor.INodeVisitor.default void visitSymlink(INodeSymlink symlink, int snapshot)
INodeSymlink.default void visitReference(INodeReference ref, int snapshot)
INodeReference (non-recursively).default void visitReferenceRecursively(INodeReference ref, int snapshot)
INodeReference and then the referred.default void preVisitReferred(INode referred)
INode.default void postVisitReferred(INode referred)
INode.default void visitDirectory(INodeDirectory dir, int snapshot)
INodeDirectory (non-recursively).default void visitDirectoryRecursively(INodeDirectory dir, int snapshot)
INodeDirectory;
then the children;
and then, if snapshottable, the snapshots.default void preVisitSub(NamespaceVisitor.Element sub, int index, boolean isLast)
NamespaceVisitor.Element.
The sub element may be a child of an INodeDirectory
or a snapshot in DirectorySnapshottableFeature.sub - the element to be visited.index - the index of the sub element.isLast - is the sub element the last element?default void postVisitSub(NamespaceVisitor.Element sub, int index, boolean isLast)
NamespaceVisitor.Element.
The sub element may be a child of an INodeDirectory
or a snapshot in DirectorySnapshottableFeature.sub - the element just visited.index - the index of the sub element.isLast - is the sub element the last element?default void visitSnapshottable(INodeDirectory dir, DirectorySnapshottableFeature snapshottable)
DirectorySnapshottableFeature.default void visitSubs(java.lang.Iterable<NamespaceVisitor.Element> subs)
NamespaceVisitor.Elements recursively.subs - the children of an INodeDirectory
or the snapshots in DirectorySnapshottableFeature.static java.lang.Iterable<NamespaceVisitor.Element> getChildren(INodeDirectory dir, int snapshot)
NamespaceVisitor.Elements.static java.lang.Iterable<NamespaceVisitor.Element> getSnapshots(DirectorySnapshottableFeature snapshottable)
NamespaceVisitor.Elements.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.