public class JsonDependencyNodeVisitor extends AbstractSerializingVisitor implements org.apache.maven.shared.dependency.graph.traversal.DependencyNodeVisitor
writer
Constructor and Description |
---|
JsonDependencyNodeVisitor(Writer writer)
Creates a new instance of
JsonDependencyNodeVisitor . |
Modifier and Type | Method and Description |
---|---|
boolean |
endVisit(org.apache.maven.shared.dependency.graph.DependencyNode node) |
boolean |
visit(org.apache.maven.shared.dependency.graph.DependencyNode node) |
public JsonDependencyNodeVisitor(Writer writer)
JsonDependencyNodeVisitor
. The writer will be used to write the output.writer
- the writer to write topublic boolean visit(org.apache.maven.shared.dependency.graph.DependencyNode node)
visit
in interface org.apache.maven.shared.dependency.graph.traversal.DependencyNodeVisitor
public boolean endVisit(org.apache.maven.shared.dependency.graph.DependencyNode node)
endVisit
in interface org.apache.maven.shared.dependency.graph.traversal.DependencyNodeVisitor
Copyright © 2002–2024 The Apache Software Foundation. All rights reserved.