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 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

      void addFragment(T fragment, K... superKeys)
    • 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()