Package org.nuxeo.ecm.core.versioning
Class VersioningComponent.VersioningPolicyRegistry
- java.lang.Object
-
- org.nuxeo.runtime.model.ContributionFragmentRegistry<T>
-
- org.nuxeo.runtime.model.SimpleContributionRegistry<VersioningPolicyDescriptor>
-
- org.nuxeo.ecm.core.versioning.VersioningComponent.VersioningPolicyRegistry
-
- Enclosing class:
- VersioningComponent
protected static class VersioningComponent.VersioningPolicyRegistry extends SimpleContributionRegistry<VersioningPolicyDescriptor>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.nuxeo.runtime.model.ContributionFragmentRegistry
ContributionFragmentRegistry.Fragment<T>, ContributionFragmentRegistry.FragmentList<T>
-
-
Field Summary
-
Fields inherited from class org.nuxeo.runtime.model.SimpleContributionRegistry
currentContribs
-
Fields inherited from class org.nuxeo.runtime.model.ContributionFragmentRegistry
contribs
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
VersioningPolicyRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContributionId(VersioningPolicyDescriptor contrib)
Returns the contribution ID given the contribution objectMap<String,VersioningPolicyDescriptor>
getVersioningPolicyDescriptors()
-
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
-
-
-
-
Method Detail
-
getContributionId
public String getContributionId(VersioningPolicyDescriptor contrib)
Description copied from class:ContributionFragmentRegistry
Returns the contribution ID given the contribution object- Specified by:
getContributionId
in classContributionFragmentRegistry<VersioningPolicyDescriptor>
-
getVersioningPolicyDescriptors
public Map<String,VersioningPolicyDescriptor> getVersioningPolicyDescriptors()
-
-