Interface RepositoryDataEntity

All Superinterfaces:
BambooIdProvider, BambooObject, BambooObjectWithOid, Deletable, Describable, DescriptionProvider, EntityWithOid, ImmutableDeletable, ImmutableEntityWithOid, NameProvider, PluginKeyProvider, ProjectIdProvider, Versionable
All Known Implementing Classes:
RepositoryDataEntityImpl

public interface RepositoryDataEntity extends Describable, BambooObjectWithOid, Deletable, PluginKeyProvider, ProjectIdProvider, Versionable
Represents repository as persisted in the db.
Since:
4.0
  • Field Details

  • Method Details

    • setPluginKey

      void setPluginKey(@NotNull @NotNull String pluginKey)
    • getXmlData

      @NotNull @NotNull String getXmlData()
      Combined data in xml format. Can contain: - old format data - new format data divided into sections: server, branch, cd config,... Stored in one blob to reduce table size.
    • setXmlData

      void setXmlData(@NotNull @NotNull String xmlData)
    • isGlobal

      boolean isGlobal()
      Returns:
      true if repository is a Global Repository (that is: can be shared among multiple plans)
    • setGlobal

      void setGlobal(boolean isGlobal)
    • getParent

      @Nullable @Nullable RepositoryDataEntity getParent()
    • setParent

      void setParent(@Nullable @Nullable RepositoryDataEntity parent)
    • getEntityType

      default BambooEntityType getEntityType()
      Description copied from interface: ImmutableEntityWithOid
      Entity type of this object, used in BambooEntityOid.
      Specified by:
      getEntityType in interface ImmutableEntityWithOid
    • getProjectId

      @Nullable @Nullable Long getProjectId()
      Specified by:
      getProjectId in interface ProjectIdProvider
      Returns:
      id of the associated Project or null if the repository is global
    • setProjectId

      void setProjectId(@Nullable @Nullable Long projectId)