Class AbstractContribution

java.lang.Object
org.nuxeo.runtime.model.persistence.AbstractContribution
All Implemented Interfaces:
Contribution, StreamRef
Direct Known Subclasses:
ContributionBuilder, ContributionFile, ContributionLocation

public abstract class AbstractContribution extends Object implements Contribution
Author:
Bogdan Stefanescu
  • Field Details

    • id

      protected String id
    • loaded

      protected boolean loaded
    • name

      protected final String name
    • description

      protected String description
    • disabled

      protected boolean disabled
  • Constructor Details

    • AbstractContribution

      protected AbstractContribution(String name)
  • Method Details

    • getId

      public String getId()
      Description copied from interface: StreamRef
      Get an unique identifier for this stream.
      Specified by:
      getId in interface StreamRef
    • load

      protected void load()
    • getName

      public String getName()
      Description copied from interface: Contribution
      Gets the contribution name.
      Specified by:
      getName in interface Contribution
    • getDescription

      public String getDescription()
      Description copied from interface: Contribution
      Gets the contribution description.
      Specified by:
      getDescription in interface Contribution
    • setDescription

      public void setDescription(String description)
      Description copied from interface: Contribution
      Sets the contribution description.
      Specified by:
      setDescription in interface Contribution
    • isDisabled

      public boolean isDisabled()
      Description copied from interface: Contribution
      Whether this contribution should be automatically installed at startup.
      Specified by:
      isDisabled in interface Contribution
    • setDisabled

      public void setDisabled(boolean isDisabled)
      Description copied from interface: Contribution
      Sets the auto install flag for this contribution.
      Specified by:
      setDisabled in interface Contribution