Class MetadataTreeNode
- java.lang.Object
-
- org.apache.maven.repository.metadata.MetadataTreeNode
-
public class MetadataTreeNode extends Object
metadata [dirty] Tree- Author:
- Oleg Gusakov
-
-
Constructor Summary
Constructors Constructor Description MetadataTreeNode()
MetadataTreeNode(Artifact af, MetadataTreeNode parent, boolean resolved, ArtifactScopeEnum scope)
MetadataTreeNode(ArtifactMetadata md, MetadataTreeNode parent, boolean resolved, ArtifactScopeEnum scope)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addChild(int index, MetadataTreeNode kid)
MetadataTreeNode[]
getChildren()
ArtifactMetadata
getMd()
int
getNChildren()
MetadataTreeNode
getParent()
String
graphHash()
boolean
hasChildren()
void
setChildren(MetadataTreeNode[] children)
void
setMd(ArtifactMetadata md)
void
setNChildren(int children)
void
setParent(MetadataTreeNode parent)
String
toString()
-
-
-
Constructor Detail
-
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 Detail
-
getNChildren
public int getNChildren()
-
setNChildren
public void setNChildren(int children)
-
addChild
public void addChild(int index, MetadataTreeNode kid)
-
graphHash
public String graphHash() throws MetadataResolutionException
- Throws:
MetadataResolutionException
-
hasChildren
public boolean hasChildren()
-
getMd
public ArtifactMetadata getMd()
-
setMd
public void setMd(ArtifactMetadata md)
-
getParent
public MetadataTreeNode getParent()
-
setParent
public void setParent(MetadataTreeNode parent)
-
getChildren
public MetadataTreeNode[] getChildren()
-
setChildren
public void setChildren(MetadataTreeNode[] children)
-
-