Class ContributionBuilder
java.lang.Object
org.nuxeo.runtime.model.persistence.AbstractContribution
org.nuxeo.runtime.model.persistence.ContributionBuilder
- All Implemented Interfaces:
Contribution
,StreamRef
- Author:
- Bogdan Stefanescu
-
Field Summary
Fields inherited from class org.nuxeo.runtime.model.persistence.AbstractContribution
description, disabled, id, loaded, name
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addExtension
(String target, String point, Object... contribs) void
addExtension
(String target, String point, List<Object> contribs) void
addXmlExtension
(String target, String point, String content) asURL()
Get an URL to that stream.Gets the contribution XML content.Gets the contribution description.Gets the contribution XML content.boolean
Whether this contribution should be automatically installed at startup.void
void
setDisabled
(boolean isDisabled) Sets the auto install flag for this contribution.Methods inherited from class org.nuxeo.runtime.model.persistence.AbstractContribution
getId, getName, load, setDescription
-
Field Details
-
dbfac
-
extensions
-
bundle
-
-
Constructor Details
-
ContributionBuilder
-
-
Method Details
-
asURL
Description copied from interface:StreamRef
Get an URL to that stream. May return null if no URL is available. -
setBundle
-
getDescription
Description copied from interface:Contribution
Gets the contribution description.- Specified by:
getDescription
in interfaceContribution
- Overrides:
getDescription
in classAbstractContribution
-
isDisabled
public boolean isDisabled()Description copied from interface:Contribution
Whether this contribution should be automatically installed at startup.- Specified by:
isDisabled
in interfaceContribution
- Overrides:
isDisabled
in classAbstractContribution
-
setDisabled
public void setDisabled(boolean isDisabled) Description copied from interface:Contribution
Sets the auto install flag for this contribution.- Specified by:
setDisabled
in interfaceContribution
- Overrides:
setDisabled
in classAbstractContribution
-
addXmlExtension
-
addExtension
-
addExtension
-
getContent
Description copied from interface:Contribution
Gets the contribution XML content. The content should be in Nuxeo XML component format. -
getStream
Description copied from interface:Contribution
Gets the contribution XML content. The content should be in Nuxeo XML component format.
-