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
FieldsFields inherited from class org.nuxeo.runtime.model.persistence.AbstractContribution
description, disabled, id, loaded, name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddExtension(String target, String point, Object... contribs) voidaddExtension(String target, String point, List<Object> contribs) voidaddXmlExtension(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.booleanWhether this contribution should be automatically installed at startup.voidvoidsetDisabled(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:StreamRefGet an URL to that stream. May return null if no URL is available. -
setBundle
-
getDescription
Description copied from interface:ContributionGets the contribution description.- Specified by:
getDescriptionin interfaceContribution- Overrides:
getDescriptionin classAbstractContribution
-
isDisabled
public boolean isDisabled()Description copied from interface:ContributionWhether this contribution should be automatically installed at startup.- Specified by:
isDisabledin interfaceContribution- Overrides:
isDisabledin classAbstractContribution
-
setDisabled
public void setDisabled(boolean isDisabled) Description copied from interface:ContributionSets the auto install flag for this contribution.- Specified by:
setDisabledin interfaceContribution- Overrides:
setDisabledin classAbstractContribution
-
addXmlExtension
-
addExtension
-
addExtension
-
getContent
Description copied from interface:ContributionGets the contribution XML content. The content should be in Nuxeo XML component format. -
getStream
Description copied from interface:ContributionGets the contribution XML content. The content should be in Nuxeo XML component format.
-