public class VcsRepositoryDataImpl extends Object implements VcsRepositoryData
Constructor and Description |
---|
VcsRepositoryDataImpl(VcsRepositoryData other) |
Modifier and Type | Method and Description |
---|---|
RepositoryData |
asLegacyData() |
boolean |
equals(Object o) |
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() |
int |
hashCode() |
boolean |
isLegacyRepository() |
boolean |
isLinked() |
boolean |
isMarkedForDeletion() |
boolean |
isRootVcsLinked() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getEntityType
public VcsRepositoryDataImpl(@NotNull VcsRepositoryData other)
public BambooEntityOid getOid()
ImmutableEntityWithOid
BambooEntityOid.getEntityType()
should be the same as this object's
ImmutableEntityWithOid.getEntityType()
.getOid
in interface ImmutableEntityWithOid
@NotNull public String getPluginKey()
getPluginKey
in interface PluginKeyProvider
@NotNull public VcsLocationDefinition getVcsLocation()
getVcsLocation
in interface VcsRepositoryData
@Nullable public VcsBranchDefinition getBranch()
getBranch
in interface VcsRepositoryData
@Nullable 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 VcsRepositoryData
public boolean isMarkedForDeletion()
isMarkedForDeletion
in interface VcsRepositoryData
public boolean isLinked()
isLinked
in interface VcsRepositoryData
public boolean isRootVcsLinked()
isRootVcsLinked
in interface VcsRepositoryData
public long getId()
getId
in interface BambooIdProvider
@NotNull public String getName()
getName
in interface DescriptionProvider
getName
in interface NameProvider
@Nullable public String getDescription()
getDescription
in interface DescriptionProvider
public boolean isLegacyRepository()
isLegacyRepository
in interface VcsRepositoryData
@Nullable public Long getParentId()
VcsRepositoryData
getParentId
in interface VcsRepositoryData
@Nullable public BambooEntityOid getParentOid()
VcsRepositoryData
getParentOid
in interface VcsRepositoryData
public long getRootVcsRepositoryId()
VcsRepositoryData
VcsRepositoryData.isRootVcsLinked()
returns true, this method returns id of that linked repository.getRootVcsRepositoryId
in interface VcsRepositoryData
@NotNull public RepositoryData asLegacyData()
asLegacyData
in interface VcsRepositoryData
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.