Package org.nuxeo.runtime.deploy
Class ExtensibleContribution
java.lang.Object
org.nuxeo.runtime.deploy.Contribution
org.nuxeo.runtime.deploy.ExtensibleContribution
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
CompositeContribution
- Author:
- Bogdan Stefanescu
-
Field Summary
FieldsFields inherited from class org.nuxeo.runtime.deploy.Contribution
contributionId, extension -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()perform a deep clone to void sharing collection elements between clonesprotected abstract voidcopyOver(ExtensibleContribution contrib) Copy this contribution data over the given one.protected ExtensibleContributionvoidinstall(ManagedComponent comp) booleanvoidvoidsetBaseContribution(ExtensibleContribution baseContribution) voidsetBaseContributionId(String baseContributionId) voiduninstall(ManagedComponent comp) voidMethods inherited from class org.nuxeo.runtime.deploy.Contribution
equals, getContributionId, getContributor, getDependencies, getExtension, getExtensionPoint, hashCode, install, setContributionId, setExtension, toString, uninstall
-
Field Details
-
baseContribution
-
baseContributionId
-
-
Constructor Details
-
ExtensibleContribution
public ExtensibleContribution()
-
-
Method Details
-
copyOver
Copy this contribution data over the given one.Warn that the copy must be done deeply - you should clone every element in any collection you have. This is to avoid merging data you copy into the base contribution and breaking subsequent merging operations.
The baseContributionId and contributionId fields should not be copied since their are copied by the base classes implementation.
-
getBaseContributionId
-
setBaseContribution
-
setBaseContributionId
-
resolve
- Overrides:
resolvein classContribution
-
unresolve
- Overrides:
unresolvein classContribution
-
getBaseContribution
-
getRootContribution
-
isRootContribution
public boolean isRootContribution() -
getMergedContribution
-
install
- Overrides:
installin classContribution
-
uninstall
- Overrides:
uninstallin classContribution
-
clone
perform a deep clone to void sharing collection elements between clones
-