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
Fields inherited from class org.nuxeo.runtime.deploy.Contribution
contributionId, extension
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
perform a deep clone to void sharing collection elements between clonesprotected abstract void
copyOver
(ExtensibleContribution contrib) Copy this contribution data over the given one.protected ExtensibleContribution
void
install
(ManagedComponent comp) boolean
void
void
setBaseContribution
(ExtensibleContribution baseContribution) void
setBaseContributionId
(String baseContributionId) void
uninstall
(ManagedComponent comp) void
Methods 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:
resolve
in classContribution
-
unresolve
- Overrides:
unresolve
in classContribution
-
getBaseContribution
-
getRootContribution
-
isRootContribution
public boolean isRootContribution() -
getMergedContribution
-
install
- Overrides:
install
in classContribution
-
uninstall
- Overrides:
uninstall
in classContribution
-
clone
perform a deep clone to void sharing collection elements between clones
-