Class MetadataRuleRegistry
- java.lang.Object
-
- org.nuxeo.runtime.model.ContributionFragmentRegistry<T>
-
- org.nuxeo.runtime.model.SimpleContributionRegistry<MetadataRuleDescriptor>
-
- org.nuxeo.binary.metadata.internals.MetadataRuleRegistry
-
public class MetadataRuleRegistry extends SimpleContributionRegistry<MetadataRuleDescriptor>
Registry forMetadataRuleDescriptor
descriptors.- Since:
- 7.1
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.nuxeo.runtime.model.ContributionFragmentRegistry
ContributionFragmentRegistry.Fragment<T>, ContributionFragmentRegistry.FragmentList<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected Set<MetadataRuleDescriptor>
contribs
-
Fields inherited from class org.nuxeo.runtime.model.SimpleContributionRegistry
currentContribs
-
-
Constructor Summary
Constructors Constructor Description MetadataRuleRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContributionId(MetadataRuleDescriptor metadataRuleDescriptor)
Returns the contribution ID given the contribution objectprotected void
handleApplicationStarted()
-
Methods inherited from class org.nuxeo.runtime.model.SimpleContributionRegistry
clone, contributionRemoved, contributionUpdated, getCurrentContribution, isSupportingMerge, merge
-
Methods inherited from class org.nuxeo.runtime.model.ContributionFragmentRegistry
addContribution, addFragment, getContribution, getFragments, removeContribution, removeContribution, removeFragment, toMap
-
-
-
-
Field Detail
-
contribs
protected final Set<MetadataRuleDescriptor> contribs
-
-
Method Detail
-
getContributionId
public String getContributionId(MetadataRuleDescriptor metadataRuleDescriptor)
Description copied from class:ContributionFragmentRegistry
Returns the contribution ID given the contribution object- Specified by:
getContributionId
in classContributionFragmentRegistry<MetadataRuleDescriptor>
-
handleApplicationStarted
protected void handleApplicationStarted()
-
-