Interface Contribution

All Superinterfaces:
StreamRef
All Known Implementing Classes:
AbstractContribution, ContributionBuilder, ContributionFile, ContributionLocation

public interface Contribution extends StreamRef
Author:
Bogdan Stefanescu
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the contribution XML content.
    Gets the contribution description.
    Gets the contribution name.
    Gets the contribution XML content.
    boolean
    Whether this contribution should be automatically installed at startup.
    void
    setDescription(String description)
    Sets the contribution description.
    void
    setDisabled(boolean isAutoStart)
    Sets the auto install flag for this contribution.

    Methods inherited from interface org.nuxeo.runtime.model.StreamRef

    asURL, getId
  • Method Details

    • 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.
      Specified by:
      getStream in interface StreamRef
    • getContent

      String getContent()
      Gets the contribution XML content. The content should be in Nuxeo XML component format.