Class MetadataGraph
java.lang.Object
org.apache.maven.repository.metadata.MetadataGraph
Deprecated.
maven dependency metadata graph
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Deprecated.static final int
Deprecated.(package private) MetadataGraphVertex
Deprecated.the entry point we started building the graph from(package private) Map
<MetadataGraphVertex, List<MetadataGraphEdge>> Deprecated.(package private) Map
<MetadataGraphVertex, List<MetadataGraphEdge>> Deprecated.incident and excident edges per node(package private) ArtifactScopeEnum
Deprecated.null in dirty graph, actual scope for conflict-resolved graphprivate boolean
Deprecated.private boolean
Deprecated.(package private) TreeSet
<MetadataGraphVertex> Deprecated. -
Constructor Summary
ConstructorsConstructorDescriptionMetadataGraph
(int nVertices) Deprecated.init graphMetadataGraph
(int nVertices, int nEdges) Deprecated.MetadataGraph
(MetadataGraphVertex entry) Deprecated.construct a single vertexDeprecated.construct graph from a "dirty" treeMetadataGraph
(MetadataTreeNode tree, boolean versionedVertices, boolean scopedVertices) Deprecated.construct graph from a "dirty" tree -
Method Summary
Modifier and TypeMethodDescriptionaddEdge
(MetadataGraphVertex vFrom, MetadataGraphVertex vTo, MetadataGraphEdge e) Deprecated.Deprecated.private static void
Deprecated.private void
Deprecated.private void
checkEdges
(int nEdges) Deprecated.private static void
Deprecated.private void
Deprecated.private void
checkVertices
(int nVertices) Deprecated.private static int
countNodes
(MetadataTreeNode tree) Deprecated.Deprecated.getEdgesBetween
(MetadataGraphVertex vFrom, MetadataGraphVertex vTo) Deprecated.getEntry()
Deprecated.getExcidentEdges
(MetadataGraphVertex vertex) Deprecated.getIncidentEdges
(MetadataGraphVertex vertex) Deprecated.getScope()
Deprecated.Deprecated.private void
init
(int nVertices, int nEdges) Deprecated.init graphboolean
isEmpty()
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.private void
processTreeNodes
(MetadataGraphVertex parentVertex, MetadataTreeNode node, int depth, int pomOrder) Deprecated.Deprecated.void
setEntry
(MetadataGraphVertex entry) Deprecated.void
setScope
(ArtifactScopeEnum scope) Deprecated.void
setScopedVertices
(boolean scopedVertices) Deprecated.void
setVersionedVertices
(boolean versionedVertices) Deprecated.toString()
Deprecated.
-
Field Details
-
DEFAULT_VERTICES
public static final int DEFAULT_VERTICESDeprecated.- See Also:
-
DEFAULT_EDGES
public static final int DEFAULT_EDGESDeprecated.- See Also:
-
versionedVertices
private boolean versionedVerticesDeprecated. -
scopedVertices
private boolean scopedVerticesDeprecated. -
entry
MetadataGraphVertex entryDeprecated.the entry point we started building the graph from -
vertices
TreeSet<MetadataGraphVertex> verticesDeprecated. -
incidentEdges
Map<MetadataGraphVertex,List<MetadataGraphEdge>> incidentEdgesDeprecated.incident and excident edges per node -
excidentEdges
Map<MetadataGraphVertex,List<MetadataGraphEdge>> excidentEdgesDeprecated. -
scope
ArtifactScopeEnum scopeDeprecated.null in dirty graph, actual scope for conflict-resolved graph
-
-
Constructor Details
-
MetadataGraph
public MetadataGraph(int nVertices) Deprecated.init graph -
MetadataGraph
public MetadataGraph(int nVertices, int nEdges) Deprecated. -
MetadataGraph
Deprecated.construct a single vertex- Throws:
MetadataResolutionException
-
MetadataGraph
Deprecated.construct graph from a "dirty" tree- Throws:
MetadataResolutionException
-
MetadataGraph
public MetadataGraph(MetadataTreeNode tree, boolean versionedVertices, boolean scopedVertices) throws MetadataResolutionException Deprecated.construct graph from a "dirty" tree- Parameters:
tree
- "dirty" tree rootversionedVertices
- true if graph nodes should be versioned (different versions -> different nodes)scopedVertices
- true if graph nodes should be versioned and scoped (different versions and/or scopes -> different nodes)- Throws:
MetadataResolutionException
-
-
Method Details
-
processTreeNodes
private void processTreeNodes(MetadataGraphVertex parentVertex, MetadataTreeNode node, int depth, int pomOrder) throws MetadataResolutionException Deprecated.- Throws:
MetadataResolutionException
-
findVertex
Deprecated. -
addVertex
Deprecated. -
init
private void init(int nVertices, int nEdges) Deprecated.init graph -
checkVertices
private void checkVertices()Deprecated. -
checkVertices
private void checkVertices(int nVertices) Deprecated. -
checkEdges
private void checkEdges()Deprecated. -
checkEdges
private void checkEdges(int nEdges) Deprecated. -
checkVertex
Deprecated.- Throws:
MetadataResolutionException
-
checkEdge
Deprecated.- Throws:
MetadataResolutionException
-
getEdgesBetween
Deprecated. -
addEdge
public MetadataGraph addEdge(MetadataGraphVertex vFrom, MetadataGraphVertex vTo, MetadataGraphEdge e) throws MetadataResolutionException Deprecated.- Throws:
MetadataResolutionException
-
removeVertex
Deprecated. -
countNodes
Deprecated. -
getEntry
Deprecated. -
setEntry
Deprecated. -
getVertices
Deprecated. -
getIncidentEdges
Deprecated. -
getExcidentEdges
Deprecated. -
isVersionedVertices
public boolean isVersionedVertices()Deprecated. -
setVersionedVertices
public void setVersionedVertices(boolean versionedVertices) Deprecated. -
isScopedVertices
public boolean isScopedVertices()Deprecated. -
setScopedVertices
public void setScopedVertices(boolean scopedVertices) Deprecated. -
getScope
Deprecated. -
setScope
Deprecated. -
isEmpty
public boolean isEmpty()Deprecated. -
isEmptyEdges
public boolean isEmptyEdges()Deprecated. -
toString
Deprecated.
-