All Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
void |
add(K key,
T object) |
void |
add(K key,
T object,
Collection<K> requires) |
void |
add(K key,
T object,
K... requires) |
void |
clear() |
T |
get(K key) |
Collection<DependencyTree.Entry<K,T>> |
getEntries() |
DependencyTree.Entry<K,T> |
getEntry(K key) |
List<DependencyTree.Entry<K,T>> |
getMissingRequirements() |
List<DependencyTree.Entry<K,T>> |
getPendingEntries() |
List<T> |
getPendingObjects() |
List<DependencyTree.Entry<K,T>> |
getResolvedEntries()
Entries are sorted so an entry never depends on entries on its right.
|
List<T> |
getResolvedObjects() |
boolean |
isRegistered(K key) |
boolean |
isResolved(K key) |
Iterator<DependencyTree.Entry<K,T>> |
iterator() |
void |
remove(K key) |
void |
resolve(DependencyTree.Entry<K,T> entry) |
void |
setEventHandler(org.nuxeo.common.collections.DependencyTree.EventHandler<T> eventHandler) |
void |
unregister(DependencyTree.Entry<K,T> entry) |
void |
unresolve(DependencyTree.Entry<K,T> entry) |
protected void |
updateDependencies(DependencyTree.Entry<K,T> entry,
Collection<K> requires) |