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() |
forEach, iterator, spliterator
ContributionRegistry<K,T> getRegistry()
Set<Contribution<K,T>> getDependencies()
Set<Contribution<K,T>> getDependents()
Set<Contribution<K,T>> getUnresolvedDependencies()
void addFragment(T fragment, K... superKeys)
boolean removeFragment(T fragment)
int size()
boolean isEmpty()
T getFragment(int index)
boolean isResolved()
boolean isPhantom()
boolean isRegistered()
void unregister()
void resolve()
void unresolve()
Copyright © 2018 Nuxeo. All rights reserved.