|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.microsoft.tfs.core.clients.framework.catalog.CatalogDependencyGroup
public class CatalogDependencyGroup
Manages node dependencies for CatalogNodes.
| Constructor Summary | |
|---|---|
CatalogDependencyGroup()
Default constructor. |
|
CatalogDependencyGroup(CatalogDependencyGroup dependencies)
Copy constructor. |
|
| Method Summary | |
|---|---|
void |
addSetDependency(java.lang.String key,
CatalogNode node)
Adds the CatalogNode to the dependency set that has the provided key. |
void |
clearDependencySets()
Clears the dependency set. |
void |
clearSingletonDependencies()
Clears the singleton dependencies. |
CatalogNode[] |
getAllDependencies()
Returns all the nodes that are dependencies. |
CatalogNode[] |
getDependencySet(java.lang.String key)
Returns The set of the dependency sets. |
java.util.HashMap<java.lang.String,java.util.ArrayList<CatalogNode>> |
getSets()
Returns the set of dependency sets. |
CatalogNode |
getSingletonDependency(java.lang.String key)
Returns the CatalogNode that is a dependency of this node that is associated with the given key. |
java.util.HashMap<java.lang.String,CatalogNode> |
getSingletons()
The set of singleton dependencies. |
void |
removeSetDependency(java.lang.String key)
Removes the entire dependency set that is associated with the given key. |
void |
removeSetDependency(java.lang.String key,
CatalogNode node)
Removes the provided node from the dependency set that is associated with the given key. |
void |
removeSingletonDependency(java.lang.String key)
Removes the node dependency with the given key. |
void |
setSingletonDependency(java.lang.String key,
CatalogNode node)
Sets the singleton dependency for the given node with the key. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CatalogDependencyGroup()
public CatalogDependencyGroup(CatalogDependencyGroup dependencies)
| Method Detail |
|---|
public CatalogNode[] getAllDependencies()
public void setSingletonDependency(java.lang.String key,
CatalogNode node)
key - The key for this dependency.node - The node the dependency is set on.public void removeSingletonDependency(java.lang.String key)
key - The key for this dependency.public CatalogNode getSingletonDependency(java.lang.String key)
key - The key for this dependency.
public java.util.HashMap<java.lang.String,CatalogNode> getSingletons()
public void addSetDependency(java.lang.String key,
CatalogNode node)
key - The key for this dependency.node - The node to add to the dependency set.public void removeSetDependency(java.lang.String key)
key - The key for this dependency.
public void removeSetDependency(java.lang.String key,
CatalogNode node)
key - The key for this dependency.node - The node to add to the dependency set.public CatalogNode[] getDependencySet(java.lang.String key)
public java.util.HashMap<java.lang.String,java.util.ArrayList<CatalogNode>> getSets()
public void clearSingletonDependencies()
public void clearDependencySets()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||