Package com.atlassian.bamboo.repository
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 Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault BambooEntityTypeEntity type of this object, used inBambooEntityOid.@Nullable RepositoryDataEntity@Nullable Long@NotNull StringCombined data in xml format.booleanisGlobal()voidsetGlobal(boolean isGlobal) voidsetParent(@Nullable RepositoryDataEntity parent) voidsetPluginKey(@NotNull String pluginKey) voidsetProjectId(@Nullable Long projectId) voidsetXmlData(@NotNull String xmlData) Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getIdMethods inherited from interface com.atlassian.bamboo.core.BambooObject
setIdMethods inherited from interface com.atlassian.bamboo.deletion.Deletable
setMarkedForDeletionMethods inherited from interface com.atlassian.bamboo.Describable
setDescription, setNameMethods inherited from interface com.atlassian.bamboo.utils.DescriptionProvider
getDescription, getNameMethods inherited from interface com.atlassian.bamboo.core.EntityWithOid
setOidMethods inherited from interface com.atlassian.bamboo.plan.cache.ImmutableDeletable
isMarkedForDeletionMethods inherited from interface com.atlassian.bamboo.core.ImmutableEntityWithOid
getOidMethods inherited from interface com.atlassian.bamboo.plugin.PluginKeyProvider
getPluginKeyMethods inherited from interface com.atlassian.bamboo.versioning.Versionable
getVersion
-
Field Details
-
NAME_MAX_LENGTH
static final int NAME_MAX_LENGTH- See Also:
-
-
Method Details
-
setPluginKey
-
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
-
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
-
setParent
-
getEntityType
Description copied from interface:ImmutableEntityWithOidEntity type of this object, used inBambooEntityOid.- Specified by:
getEntityTypein interfaceImmutableEntityWithOid
-
getProjectId
- Specified by:
getProjectIdin interfaceProjectIdProvider- Returns:
- id of the associated
Projector null if the repository is global
-
setProjectId
-