Interface Contribution
-
- All Superinterfaces:
StreamRef
- All Known Implementing Classes:
AbstractContribution,ContributionBuilder,ContributionFile,ContributionLocation
public interface Contribution extends StreamRef
- Author:
- Bogdan Stefanescu
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetContent()Gets the contribution XML content.StringgetDescription()Gets the contribution description.StringgetName()Gets the contribution name.InputStreamgetStream()Gets the contribution XML content.booleanisDisabled()Whether this contribution should be automatically installed at startup.voidsetDescription(String description)Sets the contribution description.voidsetDisabled(boolean isAutoStart)Sets the auto install flag for this contribution.
-
-
-
Method Detail
-
getName
String getName()
Gets the contribution name.
-
getDescription
String getDescription()
Gets the contribution description.
-
setDescription
void setDescription(String description)
Sets the contribution description.
-
isDisabled
boolean isDisabled()
Whether this contribution should be automatically installed at startup.
-
setDisabled
void setDisabled(boolean isAutoStart)
Sets the auto install flag for this contribution.
-
getStream
InputStream getStream()
Gets the contribution XML content. The content should be in Nuxeo XML component format.
-
getContent
String getContent()
Gets the contribution XML content. The content should be in Nuxeo XML component format.
-
-