Package org.nuxeo.ecm.automation.context
Class ContextHelperRegistry
java.lang.Object
org.nuxeo.runtime.model.ContributionFragmentRegistry<T>
org.nuxeo.runtime.model.SimpleContributionRegistry<ContextHelperDescriptor>
org.nuxeo.ecm.automation.context.ContextHelperRegistry
Registry for
ContextHelperDescriptor
descriptors.- Since:
- 7.3
-
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addContribution
(ContextHelperDescriptor contextHelperDescriptor) Add a new contribution.getContributionId
(ContextHelperDescriptor metadataMappingDescriptor) Returns the contribution ID given the contribution objectMethods inherited from class org.nuxeo.runtime.model.SimpleContributionRegistry
clone, contributionRemoved, contributionUpdated, getCurrentContribution, isSupportingMerge, merge
Methods inherited from class org.nuxeo.runtime.model.ContributionFragmentRegistry
addFragment, getContribution, getFragments, removeContribution, removeContribution, removeFragment, toMap
-
Field Details
-
RESERVED_VAR_NAMES
-
-
Constructor Details
-
ContextHelperRegistry
public ContextHelperRegistry()
-
-
Method Details
-
addContribution
Description copied from class:ContributionFragmentRegistry
Add a new contribution. This will start install the new contribution and will notify the implementation about the value to add. (the final value to add may not be the same object as the one added - but a merge between multiple contributions)- Overrides:
addContribution
in classContributionFragmentRegistry<ContextHelperDescriptor>
-
getContributionId
Description copied from class:ContributionFragmentRegistry
Returns the contribution ID given the contribution object- Specified by:
getContributionId
in classContributionFragmentRegistry<ContextHelperDescriptor>
-
getContextHelperDescriptors
-