public class FlatPrinterDependencyVisitor extends AbstractDependencyVisitor
Modifier and Type | Field and Description |
---|---|
protected int |
format |
protected Set<String> |
lines |
protected OutputStream |
output |
ignores, nodesMap, scopes
Constructor and Description |
---|
FlatPrinterDependencyVisitor(OutputStream output,
int format,
List<String> scopes) |
Modifier and Type | Method and Description |
---|---|
protected void |
doVisit(org.eclipse.aether.graph.DependencyNode node,
boolean newNode)
Actions to perform when visiting a node.
|
void |
print() |
protected void |
print(org.eclipse.aether.graph.DependencyNode node)
output must be sorted before write; see
print() |
String |
toString(org.eclipse.aether.graph.DependencyNode node) |
addIgnores, getArtifacts, getClassPath, getDependencies, getFiles, getNodes, setVisited, visitEnter, visitLeave
protected int format
protected OutputStream output
public FlatPrinterDependencyVisitor(OutputStream output, int format, List<String> scopes)
format
- 0 = standard GAV ; 1 = File + GAVprotected void doVisit(org.eclipse.aether.graph.DependencyNode node, boolean newNode)
AbstractDependencyVisitor
AbstractDependencyVisitor.ignores
.doVisit
in class AbstractDependencyVisitor
newNode
- True if visiting the node for the first timeprotected void print(org.eclipse.aether.graph.DependencyNode node)
print()
public void print() throws UnsupportedEncodingException, IOException
public String toString(org.eclipse.aether.graph.DependencyNode node)
format
PrintGraphTask.FORMAT_GAV
,
PrintGraphTask.FORMAT_KV_F_GAV
Copyright © 2016 Nuxeo SA. All Rights Reserved.