public class DependencyTree
extends javax.swing.tree.DefaultMutableTreeNode
| Constructor and Description |
|---|
DependencyTree() |
DependencyTree(java.lang.Object userObject) |
| Modifier and Type | Method and Description |
|---|---|
void |
collectAllScopesAndLicenses(java.util.Set<Scope> allScopes,
java.util.Set<License> allLicenses)
Recursively, collect all scopes and licenses.
|
java.util.Vector<DependencyTree> |
getChildren() |
java.lang.String |
getComponentId() |
GeneralInfo |
getGeneralInfo() |
int |
getIssueCount() |
java.util.Set<Issue> |
getIssues() |
java.util.Set<License> |
getLicenses() |
java.util.List<DependencyTree> |
getNodes() |
java.util.Set<Scope> |
getScopes() |
Issue |
getTopIssue() |
boolean |
isLicenseViolating() |
boolean |
isMetadata() |
java.util.Set<Issue> |
processTreeIssues()
1.
|
void |
setGeneralInfo(GeneralInfo generalInfo) |
void |
setIssues(java.util.Set<Issue> issues) |
void |
setLicenses(java.util.Set<License> licenses) |
void |
setMetadata(boolean metadata) |
void |
setPrefix(java.lang.String prefix) |
void |
setScopes(java.util.Set<Scope> scopes) |
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toStringpublic DependencyTree()
public DependencyTree(java.lang.Object userObject)
public void setLicenses(java.util.Set<License> licenses)
public void setIssues(java.util.Set<Issue> issues)
public java.lang.String getComponentId()
public void setScopes(java.util.Set<Scope> scopes)
public void setGeneralInfo(GeneralInfo generalInfo)
public java.util.Set<License> getLicenses()
public java.util.Set<Issue> getIssues()
public java.util.Set<Scope> getScopes()
public GeneralInfo getGeneralInfo()
public Issue getTopIssue()
public boolean isLicenseViolating()
public boolean isMetadata()
public void setMetadata(boolean metadata)
public void setPrefix(java.lang.String prefix)
public int getIssueCount()
public java.util.Vector<DependencyTree> getChildren()
public java.util.List<DependencyTree> getNodes()
public java.util.Set<Issue> processTreeIssues()