Package org.apache.maven.repository
Class MetadataGraphNode
- java.lang.Object
-
- org.apache.maven.repository.MetadataGraphNode
-
public class MetadataGraphNode extends java.lang.ObjectMetadataGraph 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>exNodesnodes, exident to this (I depend on)(package private) java.util.List<MetadataGraphNode>inNodesnodes, incident to this (depend on me)(package private) MavenArtifactMetadatametadatanode payload
-
Constructor Summary
Constructors Constructor Description MetadataGraphNode()MetadataGraphNode(MavenArtifactMetadata metadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetadataGraphNodeaddExident(MetadataGraphNode node)MetadataGraphNodeaddIncident(MetadataGraphNode node)booleanequals(java.lang.Object obj)inthashCode()
-
-
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-