org.apache.maven.repository.metadata
Class MetadataTreeNode
java.lang.Object
org.apache.maven.repository.metadata.MetadataTreeNode
public class MetadataTreeNode
- extends Object
metadata [dirty] Tree
- Author:
- Oleg Gusakov
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)
getNChildren
public int getNChildren()
setNChildren
public void setNChildren(int children)
addChild
public void addChild(int index,
MetadataTreeNode kid)
toString
public String toString()
- Overrides:
toString
in class Object
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)
Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.