Class MetadataTreeNode
java.lang.Object
org.apache.maven.repository.metadata.MetadataTreeNode
metadata [dirty] Tree
- Author:
- Oleg Gusakov
-
Constructor Summary
ConstructorDescriptionMetadataTreeNode
(Artifact af, MetadataTreeNode parent, boolean resolved, ArtifactScopeEnum scope) MetadataTreeNode
(ArtifactMetadata md, MetadataTreeNode parent, boolean resolved, ArtifactScopeEnum scope) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addChild
(int index, MetadataTreeNode kid) getMd()
int
boolean
void
setChildren
(MetadataTreeNode[] children) void
void
setNChildren
(int children) void
setParent
(MetadataTreeNode parent) toString()
-
Constructor Details
-
MetadataTreeNode
public MetadataTreeNode() -
MetadataTreeNode
public MetadataTreeNode(ArtifactMetadata md, MetadataTreeNode parent, boolean resolved, ArtifactScopeEnum scope) -
MetadataTreeNode
public MetadataTreeNode(Artifact af, MetadataTreeNode parent, boolean resolved, ArtifactScopeEnum scope)
-
-
Method Details
-
getNChildren
public int getNChildren() -
setNChildren
public void setNChildren(int children) -
addChild
-
toString
-
graphHash
- Throws:
MetadataResolutionException
-
hasChildren
public boolean hasChildren() -
getMd
-
setMd
-
getParent
-
setParent
-
getChildren
-
setChildren
-