Package org.apache.maven.repository
Class MetadataGraphNode
- java.lang.Object
-
- org.apache.maven.repository.MetadataGraphNode
-
public class MetadataGraphNode extends java.lang.Object
MetadataGraph node - as it's a directed graph - holds adjacency lists for incident and exident nodes
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.List<MetadataGraphNode>
exNodes
nodes, exident to this (I depend on)(package private) java.util.List<MetadataGraphNode>
inNodes
nodes, incident to this (depend on me)(package private) MavenArtifactMetadata
metadata
node payload
-
Constructor Summary
Constructors Constructor Description MetadataGraphNode()
MetadataGraphNode(MavenArtifactMetadata metadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetadataGraphNode
addExident(MetadataGraphNode node)
MetadataGraphNode
addIncident(MetadataGraphNode node)
boolean
equals(java.lang.Object obj)
int
hashCode()
-
-
-
Field Detail
-
metadata
MavenArtifactMetadata metadata
node payload
-
inNodes
java.util.List<MetadataGraphNode> inNodes
nodes, incident to this (depend on me)
-
exNodes
java.util.List<MetadataGraphNode> exNodes
nodes, exident to this (I depend on)
-
-
Constructor Detail
-
MetadataGraphNode
public MetadataGraphNode()
-
MetadataGraphNode
public MetadataGraphNode(MavenArtifactMetadata metadata)
-
-
Method Detail
-
addIncident
public MetadataGraphNode addIncident(MetadataGraphNode node)
-
addExident
public MetadataGraphNode addExident(MetadataGraphNode node)
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-