Class JsonDependencyNodeVisitor
java.lang.Object
org.apache.maven.plugins.dependency.tree.AbstractSerializingVisitor
org.apache.maven.plugins.dependency.tree.JsonDependencyNodeVisitor
- All Implemented Interfaces:
org.apache.maven.shared.dependency.graph.traversal.DependencyNodeVisitor
public class JsonDependencyNodeVisitor
extends AbstractSerializingVisitor
implements org.apache.maven.shared.dependency.graph.traversal.DependencyNodeVisitor
A dependency node visitor that serializes visited nodes to a writer using the JSON format.
-
Field Summary
Fields inherited from class org.apache.maven.plugins.dependency.tree.AbstractSerializingVisitor
writer
-
Constructor Summary
ConstructorDescriptionJsonDependencyNodeVisitor
(Writer writer) Creates a new instance ofJsonDependencyNodeVisitor
. -
Method Summary
-
Constructor Details
-
JsonDependencyNodeVisitor
Creates a new instance ofJsonDependencyNodeVisitor
. The writer will be used to write the output.- Parameters:
writer
- the writer to write to
-
-
Method Details