Package org.nuxeo.runtime.model
Class DescriptorRegistry
java.lang.Object
org.nuxeo.runtime.model.DescriptorRegistry
Default generic descriptor registry.
It handles (un)registering and merged retrieval.
Merge algorithm depends on Descriptor
implementations.
- Since:
- 10.3
-
Field Summary
Modifier and TypeFieldDescription -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
<T extends Descriptor>
TgetDescriptor
(String target, String xp, String id) <T extends Descriptor>
List<T>getDescriptors
(String target, String xp) protected <T extends Descriptor>
Tmerge
(Collection<T> descriptors) boolean
register
(String target, String xp, Descriptor descriptor) boolean
unregister
(String target, String xp, Descriptor descriptor)
-
Field Details
-
descriptors
-
-
Constructor Details
-
DescriptorRegistry
public DescriptorRegistry()
-
-
Method Details
-
getDescriptor
-
getDescriptors
-
register
-
unregister
-
merge
-
clear
public void clear()
-