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
FieldsFields inherited from class org.nuxeo.runtime.model.SimpleContributionRegistry
currentContribsFields inherited from class org.nuxeo.runtime.model.ContributionFragmentRegistry
contribs -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddContribution(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, mergeMethods 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:ContributionFragmentRegistryAdd 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:
addContributionin classContributionFragmentRegistry<ContextHelperDescriptor>
-
getContributionId
Description copied from class:ContributionFragmentRegistryReturns the contribution ID given the contribution object- Specified by:
getContributionIdin classContributionFragmentRegistry<ContextHelperDescriptor>
-
getContextHelperDescriptors
-