public class Node extends Object implements org.eclipse.aether.graph.DependencyNode
Modifier and Type | Field and Description |
---|---|
protected org.eclipse.aether.graph.DependencyNode |
dependencyNode |
protected Graph |
graph |
protected String |
id |
Constructor and Description |
---|
Node(Graph graph,
org.eclipse.aether.graph.DependencyNode dependencyNode) |
Node(Node node) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(org.eclipse.aether.graph.DependencyVisitor visitor) |
void |
addParent(Node node) |
boolean |
equals(Object obj) |
static String |
genNodeId(org.apache.maven.artifact.Artifact artifact) |
static String |
genNodeId(org.eclipse.aether.artifact.Artifact artifact,
String scope) |
static String |
genNodeId(org.eclipse.aether.graph.Dependency dependency) |
static String |
genNodeId(org.eclipse.aether.graph.DependencyNode node) |
List<char[]> |
getAcceptedCategories()
Deprecated.
since 2.0
|
Collection<? extends org.eclipse.aether.artifact.Artifact> |
getAliases() |
org.eclipse.aether.artifact.Artifact |
getArtifact() |
List<org.eclipse.aether.graph.DependencyNode> |
getChildren() |
Map<?,?> |
getData() |
org.eclipse.aether.graph.Dependency |
getDependency() |
File |
getFile() |
String |
getId() |
int |
getManagedBits() |
org.apache.maven.artifact.Artifact |
getMavenArtifact() |
List<org.eclipse.aether.graph.DependencyNode> |
getParents()
Deprecated.
|
List<? extends org.eclipse.aether.artifact.Artifact> |
getRelocations() |
List<org.eclipse.aether.repository.RemoteRepository> |
getRepositories() |
String |
getRequestContext() |
org.eclipse.aether.version.Version |
getVersion() |
org.eclipse.aether.version.VersionConstraint |
getVersionConstraint() |
int |
hashCode() |
boolean |
isAcceptedCategory(List<char[]> patterns)
Deprecated.
since 2.0
|
void |
setAcceptedCategory(char[] pattern)
Deprecated.
since 2.0
|
void |
setArtifact(org.eclipse.aether.artifact.Artifact artifact) |
void |
setChildren(List<org.eclipse.aether.graph.DependencyNode> children) |
void |
setData(Map<Object,Object> data) |
void |
setData(Object key,
Object value) |
void |
setManagedBits(int managedBits) |
void |
setOptional(Boolean optional) |
void |
setRequestContext(String context) |
void |
setScope(String scope) |
String |
toString() |
protected final Graph graph
protected final String id
protected org.eclipse.aether.graph.DependencyNode dependencyNode
public Node(Node node)
public Node(Graph graph, org.eclipse.aether.graph.DependencyNode dependencyNode)
@Deprecated public List<char[]> getAcceptedCategories()
public static String genNodeId(org.apache.maven.artifact.Artifact artifact)
public static String genNodeId(org.eclipse.aether.graph.Dependency dependency)
public static String genNodeId(org.eclipse.aether.artifact.Artifact artifact, String scope)
public static String genNodeId(org.eclipse.aether.graph.DependencyNode node)
public org.apache.maven.artifact.Artifact getMavenArtifact()
public File getFile()
public String getId()
@Deprecated public void setAcceptedCategory(char[] pattern)
pattern
- @Deprecated public boolean isAcceptedCategory(List<char[]> patterns)
patterns
- public List<org.eclipse.aether.graph.DependencyNode> getChildren()
getChildren
in interface org.eclipse.aether.graph.DependencyNode
public org.eclipse.aether.graph.Dependency getDependency()
getDependency
in interface org.eclipse.aether.graph.DependencyNode
public void setArtifact(org.eclipse.aether.artifact.Artifact artifact)
setArtifact
in interface org.eclipse.aether.graph.DependencyNode
public List<? extends org.eclipse.aether.artifact.Artifact> getRelocations()
getRelocations
in interface org.eclipse.aether.graph.DependencyNode
public Collection<? extends org.eclipse.aether.artifact.Artifact> getAliases()
getAliases
in interface org.eclipse.aether.graph.DependencyNode
public org.eclipse.aether.version.VersionConstraint getVersionConstraint()
getVersionConstraint
in interface org.eclipse.aether.graph.DependencyNode
public org.eclipse.aether.version.Version getVersion()
getVersion
in interface org.eclipse.aether.graph.DependencyNode
public void setScope(String scope)
setScope
in interface org.eclipse.aether.graph.DependencyNode
public List<org.eclipse.aether.repository.RemoteRepository> getRepositories()
getRepositories
in interface org.eclipse.aether.graph.DependencyNode
public String getRequestContext()
getRequestContext
in interface org.eclipse.aether.graph.DependencyNode
public void setRequestContext(String context)
setRequestContext
in interface org.eclipse.aether.graph.DependencyNode
public Map<?,?> getData()
getData
in interface org.eclipse.aether.graph.DependencyNode
public void setData(Object key, Object value)
setData
in interface org.eclipse.aether.graph.DependencyNode
public boolean accept(org.eclipse.aether.graph.DependencyVisitor visitor)
accept
in interface org.eclipse.aether.graph.DependencyNode
@Deprecated public List<org.eclipse.aether.graph.DependencyNode> getParents()
public void addParent(Node node)
public void setChildren(List<org.eclipse.aether.graph.DependencyNode> children)
setChildren
in interface org.eclipse.aether.graph.DependencyNode
public void setOptional(Boolean optional)
setOptional
in interface org.eclipse.aether.graph.DependencyNode
public int getManagedBits()
getManagedBits
in interface org.eclipse.aether.graph.DependencyNode
public void setData(Map<Object,Object> data)
setData
in interface org.eclipse.aether.graph.DependencyNode
public org.eclipse.aether.artifact.Artifact getArtifact()
getArtifact
in interface org.eclipse.aether.graph.DependencyNode
public void setManagedBits(int managedBits)
Copyright © 2016 Nuxeo SA. All Rights Reserved.