public interface VcsRepositoryData extends BambooIdProvider, DescriptionProvider, Serializable, ImmutableEntityWithOid, PluginKeyProvider, ProjectIdProvider
Plan
's context
Product of:
- importing parent's configuration
- applying local configuration overrides (e.g. branch)
Analogue of existing RepositoryData
Modifier and Type | Method and Description |
---|---|
@NotNull RepositoryData |
asLegacyData()
Deprecated.
since 5.14 for backward compatibility only
|
@Nullable VcsBambooSpecsDetectionOptions |
getBambooSpecsDetectionOptions() |
@Nullable VcsBranchDefinition |
getBranch() |
default BambooEntityType |
getEntityType()
Entity type of this object, used in
BambooEntityOid . |
@Nullable Long |
getParentId()
Get id of the repository this inherits data from or null if none.
|
@Nullable BambooEntityOid |
getParentOid()
Get oid of the repository this inherits data from or null if none.
|
@Nullable Long |
getProjectId() |
long |
getRootVcsRepositoryId()
Get id of the repository that is the root of the hierarchy this repository belongs to.
|
@Nullable VcsBranchDetectionOptions |
getVcsBranchDetectionOptions() |
@Nullable VcsChangeDetectionOptions |
getVcsChangeDetectionOptions() |
@NotNull VcsLocationDefinition |
getVcsLocation() |
@Nullable VcsRepositoryViewerDefinition |
getViewerConfiguration() |
boolean |
isLegacyRepository()
Deprecated.
since 5.14 for backward compatibility only
|
boolean |
isLinked() |
boolean |
isMarkedForDeletion() |
boolean |
isRootVcsLinked() |
boolean |
isRootVcsProject() |
boolean |
isRootVcsShared() |
boolean |
isShared() |
getId
getDescription, getName
getOid
getPluginKey
@NotNull @NotNull VcsLocationDefinition getVcsLocation()
@Nullable @Nullable VcsBranchDefinition getBranch()
@Nullable @Nullable VcsChangeDetectionOptions getVcsChangeDetectionOptions()
@Nullable @Nullable VcsBranchDetectionOptions getVcsBranchDetectionOptions()
@Nullable @Nullable VcsRepositoryViewerDefinition getViewerConfiguration()
@Nullable @Nullable VcsBambooSpecsDetectionOptions getBambooSpecsDetectionOptions()
boolean isMarkedForDeletion()
boolean isLinked()
boolean isShared()
@Deprecated boolean isLegacyRepository()
@Deprecated @NotNull @NotNull RepositoryData asLegacyData()
default BambooEntityType getEntityType()
ImmutableEntityWithOid
BambooEntityOid
.getEntityType
in interface ImmutableEntityWithOid
@Nullable @Nullable Long getParentId()
@Nullable @Nullable BambooEntityOid getParentOid()
boolean isRootVcsLinked()
boolean isRootVcsProject()
boolean isRootVcsShared()
long getRootVcsRepositoryId()
isRootVcsLinked()
returns true, this method returns id of that linked repository.@Nullable @Nullable Long getProjectId()
getProjectId
in interface ProjectIdProvider
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.