Package org.nuxeo.runtime.contribution
Interface Contribution<K,T>
-
- All Superinterfaces:
Iterable<T>
- All Known Implementing Classes:
ContributionImpl
public interface Contribution<K,T> extends Iterable<T>
- Author:
- Bogdan Stefanescu
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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()
-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
-
-
-
Method Detail
-
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()
-
removeFragment
boolean removeFragment(T fragment)
-
getValue
T getValue()
-
size
int size()
-
isEmpty
boolean isEmpty()
-
getFragment
T getFragment(int index)
-
isResolved
boolean isResolved()
-
isPhantom
boolean isPhantom()
-
isRegistered
boolean isRegistered()
-
unregister
void unregister()
-
resolve
void resolve()
-
unresolve
void unresolve()
-
-