public interface Contribution<K,T> extends Iterable<T>
Modifier and Type | Method and Description |
---|---|
void |
addFragment(T fragment,
K... superKeys) |
Set<Contribution<K,T>> |
getDependencies() |
Set<Contribution<K,T>> |
getDependents() |
T |
getFragment(int index) |
K |
getId() |
ContributionRegistry<K,T> |
getRegistry() |
Set<Contribution<K,T>> |
getUnresolvedDependencies() |
T |
getValue() |
boolean |
isEmpty() |
boolean |
isPhantom() |
boolean |
isRegistered() |
boolean |
isResolved() |
boolean |
removeFragment(T fragment) |
void |
resolve() |
int |
size() |
void |
unregister() |
void |
unresolve() |
ContributionRegistry<K,T> getRegistry()
K getId()
Set<Contribution<K,T>> getDependencies()
Set<Contribution<K,T>> getDependents()
Set<Contribution<K,T>> getUnresolvedDependencies()
boolean removeFragment(T fragment)
T getValue()
int size()
boolean isEmpty()
T getFragment(int index)
boolean isResolved()
boolean isPhantom()
boolean isRegistered()
void unregister()
void resolve()
void unresolve()
Copyright © 2013 Nuxeo SA. All Rights Reserved.