Package org.nuxeo.runtime.deploy
Class Contribution
- java.lang.Object
-
- org.nuxeo.runtime.deploy.Contribution
-
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
ExtensibleContribution
public abstract class Contribution extends Object implements Cloneable
- Author:
- Bogdan Stefanescu
-
-
Field Summary
Fields Modifier and Type Field Description protected String
contributionId
protected Extension
extension
-
Constructor Summary
Constructors Constructor Description Contribution()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getContributionId()
ComponentInstance
getContributor()
Collection<String>
getDependencies()
Extension
getExtension()
String
getExtensionPoint()
int
hashCode()
void
install(ManagedComponent comp)
abstract void
install(ManagedComponent comp, Contribution contrib)
void
resolve(ContributionManager mgr)
void
setContributionId(String contributionId)
void
setExtension(Extension extension)
String
toString()
void
uninstall(ManagedComponent comp)
abstract void
uninstall(ManagedComponent comp, Contribution contrib)
void
unresolve(ContributionManager mgr)
-
-
-
Method Detail
-
install
public abstract void install(ManagedComponent comp, Contribution contrib)
-
uninstall
public abstract void uninstall(ManagedComponent comp, Contribution contrib)
-
getContributionId
public String getContributionId()
-
setContributionId
public void setContributionId(String contributionId)
-
install
public void install(ManagedComponent comp)
-
uninstall
public void uninstall(ManagedComponent comp)
-
resolve
public void resolve(ContributionManager mgr)
-
unresolve
public void unresolve(ContributionManager mgr)
-
getExtension
public Extension getExtension()
-
setExtension
public void setExtension(Extension extension)
-
getExtensionPoint
public String getExtensionPoint()
-
getContributor
public ComponentInstance getContributor()
-
getDependencies
public Collection<String> getDependencies()
-
-