Class AbstractContribution
java.lang.Object
org.nuxeo.runtime.model.persistence.AbstractContribution
- All Implemented Interfaces:
Contribution
,StreamRef
- Direct Known Subclasses:
ContributionBuilder
,ContributionFile
,ContributionLocation
- Author:
- Bogdan Stefanescu
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the contribution description.getId()
Get an unique identifier for this stream.getName()
Gets the contribution name.boolean
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
-
Field Details
-
id
-
loaded
protected boolean loaded -
name
-
description
-
disabled
protected boolean disabled
-
-
Constructor Details
-
AbstractContribution
-
-
Method Details
-
getId
Description copied from interface:StreamRef
Get an unique identifier for this stream. -
load
protected void load() -
getName
Description copied from interface:Contribution
Gets the contribution name.- Specified by:
getName
in interfaceContribution
-
getDescription
Description copied from interface:Contribution
Gets the contribution description.- Specified by:
getDescription
in interfaceContribution
-
setDescription
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
-