org.apache.maven.repository.metadata
Class MetadataTreeNode

java.lang.Object
  extended by org.apache.maven.repository.metadata.MetadataTreeNode

public class MetadataTreeNode
extends Object

metadata [dirty] Tree

Author:
Oleg Gusakov

Constructor Summary
MetadataTreeNode()
           
MetadataTreeNode(ArtifactMetadata md, MetadataTreeNode parent, boolean resolved, ArtifactScopeEnum scope)
           
MetadataTreeNode(Artifact af, MetadataTreeNode parent, boolean resolved, ArtifactScopeEnum scope)
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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)

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.