Class AbstractContribution
- java.lang.Object
-
- org.nuxeo.runtime.model.persistence.AbstractContribution
-
- All Implemented Interfaces:
Contribution
,StreamRef
- Direct Known Subclasses:
ContributionBuilder
,ContributionFile
,ContributionLocation
public abstract class AbstractContribution extends Object implements Contribution
- Author:
- Bogdan Stefanescu
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractContribution(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
Gets the contribution description.String
getId()
Get an unique identifier for this stream.String
getName()
Gets the contribution name.boolean
isDisabled()
Whether this contribution should be automatically installed at startup.protected void
load()
void
setDescription(String description)
Sets the contribution description.void
setDisabled(boolean isDisabled)
Sets the auto install flag for this contribution.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.nuxeo.runtime.model.persistence.Contribution
getContent, getStream
-
-
-
-
Constructor Detail
-
AbstractContribution
protected AbstractContribution(String name)
-
-
Method Detail
-
getId
public String getId()
Description copied from interface:StreamRef
Get an unique identifier for this stream.
-
load
protected void load()
-
getName
public String getName()
Description copied from interface:Contribution
Gets the contribution name.- Specified by:
getName
in interfaceContribution
-
getDescription
public String getDescription()
Description copied from interface:Contribution
Gets the contribution description.- Specified by:
getDescription
in interfaceContribution
-
setDescription
public void setDescription(String description)
Description copied from interface:Contribution
Sets the contribution description.- Specified by:
setDescription
in interfaceContribution
-
isDisabled
public boolean isDisabled()
Description copied from interface:Contribution
Whether this contribution should be automatically installed at startup.- Specified by:
isDisabled
in interfaceContribution
-
setDisabled
public void setDisabled(boolean isDisabled)
Description copied from interface:Contribution
Sets the auto install flag for this contribution.- Specified by:
setDisabled
in interfaceContribution
-
-