Package org.nuxeo.runtime.contribution
Interface Contribution<K,T>
- All Superinterfaces:
Iterable<T>
- All Known Implementing Classes:
ContributionImpl
- Author:
- Bogdan Stefanescu
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addFragment
(T fragment, K... superKeys) Set<Contribution<K,
T>> Set<Contribution<K,
T>> getFragment
(int index) getId()
Set<Contribution<K,
T>> getValue()
boolean
isEmpty()
boolean
boolean
boolean
boolean
removeFragment
(T fragment) void
resolve()
int
size()
void
void
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
getRegistry
ContributionRegistry<K,T> getRegistry() -
getId
K getId() -
getDependencies
Set<Contribution<K,T>> getDependencies() -
getDependents
Set<Contribution<K,T>> getDependents() -
getUnresolvedDependencies
Set<Contribution<K,T>> getUnresolvedDependencies() -
addFragment
-
removeFragment
-
getValue
T getValue() -
size
int size() -
isEmpty
boolean isEmpty() -
getFragment
-
isResolved
boolean isResolved() -
isPhantom
boolean isPhantom() -
isRegistered
boolean isRegistered() -
unregister
void unregister() -
resolve
void resolve() -
unresolve
void unresolve()
-