Package org.jboss.modules
Class DependencyTreeViewer
java.lang.Object
org.jboss.modules.DependencyTreeViewer
A dependency tree viewer utility. Prints out the dependency tree for a module.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static <I,
O extends I>
O[]private static void
print
(PrintWriter out, String prefix, DependencySpec spec, FastCopyHashSet<ModuleIdentifier> visited, boolean last, File... roots) private static void
print
(PrintWriter out, String prefix, ModuleIdentifier identifier, FastCopyHashSet<ModuleIdentifier> visited, File... roots) private static void
print
(PrintWriter out, String prefix, ModuleSpec spec, FastCopyHashSet<ModuleIdentifier> visited, File... roots) static void
print
(PrintWriter out, ModuleIdentifier identifier, File... roots) Print the dependency tree for the given module with the given module root list.
-
Constructor Details
-
DependencyTreeViewer
public DependencyTreeViewer()
-
-
Method Details
-
filtered
-
print
private static void print(PrintWriter out, String prefix, ModuleSpec spec, FastCopyHashSet<ModuleIdentifier> visited, File... roots) -
print
private static void print(PrintWriter out, String prefix, DependencySpec spec, FastCopyHashSet<ModuleIdentifier> visited, boolean last, File... roots) -
print
private static void print(PrintWriter out, String prefix, ModuleIdentifier identifier, FastCopyHashSet<ModuleIdentifier> visited, File... roots) -
print
Print the dependency tree for the given module with the given module root list.- Parameters:
out
- the output stream to useidentifier
- the identifier of the module to examineroots
- the module roots to search
-