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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the contribution description.getId()Get an unique identifier for this stream.getName()Gets the contribution name.booleanWhether this contribution should be automatically installed at startup.protected voidload()voidsetDescription(String description) Sets the contribution description.voidsetDisabled(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, waitMethods 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:StreamRefGet an unique identifier for this stream. -
load
protected void load() -
getName
Description copied from interface:ContributionGets the contribution name.- Specified by:
getNamein interfaceContribution
-
getDescription
Description copied from interface:ContributionGets the contribution description.- Specified by:
getDescriptionin interfaceContribution
-
setDescription
Description copied from interface:ContributionSets the contribution description.- Specified by:
setDescriptionin interfaceContribution
-
isDisabled
public boolean isDisabled()Description copied from interface:ContributionWhether this contribution should be automatically installed at startup.- Specified by:
isDisabledin interfaceContribution
-
setDisabled
public void setDisabled(boolean isDisabled) Description copied from interface:ContributionSets the auto install flag for this contribution.- Specified by:
setDisabledin interfaceContribution
-