public class CompleteVcsRepositoryData extends Object implements VcsRepositoryData
| Constructor and Description |
|---|
CompleteVcsRepositoryData(VcsRepositoryData inheritedData,
PartialVcsRepositoryData overrides) |
| Modifier and Type | Method and Description |
|---|---|
RepositoryData |
asLegacyData() |
VcsBambooSpecsDetectionOptions |
getBambooSpecsDetectionOptions() |
VcsBranchDefinition |
getBranch() |
String |
getDescription() |
long |
getId() |
String |
getName() |
BambooEntityOid |
getOid()
OID assigned to this object.
|
Long |
getParentId()
Get id of the repository this inherits data from or null if none.
|
BambooEntityOid |
getParentOid()
Get oid of the repository this inherits data from or null if none.
|
String |
getPluginKey() |
long |
getRootVcsRepositoryId()
Get id of the repository that is the root of the hierarchy this repository belongs to.
|
VcsBranchDetectionOptions |
getVcsBranchDetectionOptions() |
VcsChangeDetectionOptions |
getVcsChangeDetectionOptions() |
VcsLocationDefinition |
getVcsLocation() |
VcsRepositoryViewerDefinition |
getViewerConfiguration() |
boolean |
isLegacyRepository() |
boolean |
isLinked() |
boolean |
isMarkedForDeletion() |
boolean |
isRootVcsLinked() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEntityTypepublic CompleteVcsRepositoryData(@Nullable
VcsRepositoryData inheritedData,
@NotNull
PartialVcsRepositoryData overrides)
@NotNull public String getPluginKey()
getPluginKey in interface PluginKeyProvider@NotNull public VcsLocationDefinition getVcsLocation()
getVcsLocation in interface VcsRepositoryData@NotNull public VcsBranchDefinition getBranch()
getBranch in interface VcsRepositoryData@NotNull public VcsChangeDetectionOptions getVcsChangeDetectionOptions()
getVcsChangeDetectionOptions in interface VcsRepositoryData@Nullable public VcsBranchDetectionOptions getVcsBranchDetectionOptions()
getVcsBranchDetectionOptions in interface VcsRepositoryData@Nullable public VcsBambooSpecsDetectionOptions getBambooSpecsDetectionOptions()
getBambooSpecsDetectionOptions in interface VcsRepositoryData@Nullable public VcsRepositoryViewerDefinition getViewerConfiguration()
getViewerConfiguration in interface VcsRepositoryDatapublic boolean isMarkedForDeletion()
isMarkedForDeletion in interface VcsRepositoryDatapublic boolean isLinked()
isLinked in interface VcsRepositoryDatapublic boolean isRootVcsLinked()
isRootVcsLinked in interface VcsRepositoryDatapublic boolean isLegacyRepository()
isLegacyRepository in interface VcsRepositoryData@NotNull public RepositoryData asLegacyData()
asLegacyData in interface VcsRepositoryDatapublic long getId()
getId in interface BambooIdProviderpublic BambooEntityOid getOid()
ImmutableEntityWithOidBambooEntityOid.getEntityType() should be the same as this object's
ImmutableEntityWithOid.getEntityType().getOid in interface ImmutableEntityWithOid@NotNull public String getName()
getName in interface DescriptionProvidergetName in interface NameProvider@Nullable public String getDescription()
getDescription in interface DescriptionProvider@Nullable public Long getParentId()
VcsRepositoryDatagetParentId in interface VcsRepositoryData@Nullable public BambooEntityOid getParentOid()
VcsRepositoryDatagetParentOid in interface VcsRepositoryDatapublic long getRootVcsRepositoryId()
VcsRepositoryDataVcsRepositoryData.isRootVcsLinked() returns true, this method returns id of that linked repository.getRootVcsRepositoryId in interface VcsRepositoryDataCopyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.