Class MetadataGraph
java.lang.Object
org.apache.maven.repository.metadata.MetadataGraph
Deprecated.
maven dependency metadata graph
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDeprecated.static final intDeprecated.(package private) MetadataGraphVertexDeprecated.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) ArtifactScopeEnumDeprecated.null in dirty graph, actual scope for conflict-resolved graphprivate booleanDeprecated.private booleanDeprecated.(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 voidDeprecated.private voidDeprecated.private voidcheckEdges(int nEdges) Deprecated.private static voidDeprecated.private voidDeprecated.private voidcheckVertices(int nVertices) Deprecated.private static intcountNodes(MetadataTreeNode tree) Deprecated.Deprecated.getEdgesBetween(MetadataGraphVertex vFrom, MetadataGraphVertex vTo) Deprecated.getEntry()Deprecated.getExcidentEdges(MetadataGraphVertex vertex) Deprecated.getIncidentEdges(MetadataGraphVertex vertex) Deprecated.getScope()Deprecated.Deprecated.private voidinit(int nVertices, int nEdges) Deprecated.init graphbooleanisEmpty()Deprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.private voidprocessTreeNodes(MetadataGraphVertex parentVertex, MetadataTreeNode node, int depth, int pomOrder) Deprecated.Deprecated.voidsetEntry(MetadataGraphVertex entry) Deprecated.voidsetScope(ArtifactScopeEnum scope) Deprecated.voidsetScopedVertices(boolean scopedVertices) Deprecated.voidsetVersionedVertices(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.
-