Class FragmentRegistry
java.lang.Object
org.nuxeo.common.collections.DependencyTree<String,FragmentDescriptor>
org.nuxeo.runtime.deployment.preprocessor.FragmentRegistry
- All Implemented Interfaces:
Iterable<DependencyTree.Entry<String,
FragmentDescriptor>>
- Author:
- Bogdan Stefanescu
-
Nested Class Summary
Nested classes/interfaces inherited from class org.nuxeo.common.collections.DependencyTree
DependencyTree.Entry<K,
T> -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(FragmentDescriptor fragment) protected void
Entries are sorted so an entry never depends on entries on its right.Methods inherited from class org.nuxeo.common.collections.DependencyTree
add, add, add, clear, isRegistered, isResolved, iterator, remove, resolve, setEventHandler, unregister, unresolve, updateDependencies
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
fragments
-
-
Constructor Details
-
FragmentRegistry
public FragmentRegistry()
-
-
Method Details
-
add
-
getResolvedEntries
Description copied from class:DependencyTree
Entries are sorted so an entry never depends on entries on its right.- Overrides:
getResolvedEntries
in classDependencyTree<String,
FragmentDescriptor>
-
getMissingRequirements
- Overrides:
getMissingRequirements
in classDependencyTree<String,
FragmentDescriptor>
-
get
- Overrides:
get
in classDependencyTree<String,
FragmentDescriptor>
-
getEntries
- Overrides:
getEntries
in classDependencyTree<String,
FragmentDescriptor>
-
getResolvedObjects
- Overrides:
getResolvedObjects
in classDependencyTree<String,
FragmentDescriptor>
-
getPendingObjects
- Overrides:
getPendingObjects
in classDependencyTree<String,
FragmentDescriptor>
-
getEntry
- Overrides:
getEntry
in classDependencyTree<String,
FragmentDescriptor>
-
getPendingEntries
- Overrides:
getPendingEntries
in classDependencyTree<String,
FragmentDescriptor>
-
commitFragments
protected void commitFragments()
-