public class ArtifactTreeNode extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.gcube.common.core.utils.logging.GCUBELog |
logger
Class logger.
|
| Constructor and Description |
|---|
ArtifactTreeNode(ArtifactTreeNode parent,
ArtifactCoordinates item,
int deep)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addSon(ArtifactTreeNode son)
Add a son to this node
|
int |
getDeep() |
ArtifactCoordinates |
getItem()
Get the Artifact
|
ArtifactTreeNode |
getParent() |
void |
listDependency(List<String> dep) |
String |
printTree() |
void |
removeSon(ArtifactTreeNode son)
Remove a son from this node
|
String |
toString() |
protected static final org.gcube.common.core.utils.logging.GCUBELog logger
public ArtifactTreeNode(ArtifactTreeNode parent, ArtifactCoordinates item, int deep) throws Exception
parent - parent nodeitem - valuedeep - deepException - if failspublic void addSon(ArtifactTreeNode son) throws Exception
son - to addException - if failspublic void removeSon(ArtifactTreeNode son) throws Exception
son - to removeException - if failspublic ArtifactCoordinates getItem()
public int getDeep()
public ArtifactTreeNode getParent()
public String printTree()
Copyright © 2014. All Rights Reserved.