public class MetadataTreeNode extends Object
Constructor and Description |
---|
MetadataTreeNode() |
MetadataTreeNode(ArtifactMetadata md,
MetadataTreeNode parent,
boolean resolved,
ArtifactScopeEnum scope) |
MetadataTreeNode(Artifact af,
MetadataTreeNode parent,
boolean resolved,
ArtifactScopeEnum scope) |
Modifier and Type | Method and 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() |
public MetadataTreeNode()
public MetadataTreeNode(ArtifactMetadata md, MetadataTreeNode parent, boolean resolved, ArtifactScopeEnum scope)
public MetadataTreeNode(Artifact af, MetadataTreeNode parent, boolean resolved, ArtifactScopeEnum scope)
public int getNChildren()
public void setNChildren(int children)
public void addChild(int index, MetadataTreeNode kid)
public String graphHash() throws MetadataResolutionException
MetadataResolutionException
public boolean hasChildren()
public ArtifactMetadata getMd()
public void setMd(ArtifactMetadata md)
public MetadataTreeNode getParent()
public void setParent(MetadataTreeNode parent)
public MetadataTreeNode[] getChildren()
public void setChildren(MetadataTreeNode[] children)
Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.