public class MockVcsRepositoryData extends Object implements VcsRepositoryData
Constructor and Description |
---|
MockVcsRepositoryData() |
MockVcsRepositoryData(boolean isBBSRepository) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEntityType
public MockVcsRepositoryData()
public MockVcsRepositoryData(boolean isBBSRepository)
public long getId()
getId
in interface BambooIdProvider
public BambooEntityOid getOid()
ImmutableEntityWithOid
BambooEntityOid.getEntityType()
should be the same as this object's
ImmutableEntityWithOid.getEntityType()
.getOid
in interface ImmutableEntityWithOid
@NotNull public @NotNull String getPluginKey()
getPluginKey
in interface PluginKeyProvider
@NotNull public @NotNull String getName()
getName
in interface DescriptionProvider
getName
in interface NameProvider
@Nullable public @Nullable String getDescription()
getDescription
in interface DescriptionProvider
@NotNull public @NotNull VcsLocationDefinition getVcsLocation()
getVcsLocation
in interface VcsRepositoryData
@Nullable public @Nullable VcsBranchDefinition getBranch()
getBranch
in interface VcsRepositoryData
@Nullable public @Nullable VcsChangeDetectionOptions getVcsChangeDetectionOptions()
getVcsChangeDetectionOptions
in interface VcsRepositoryData
@Nullable public @Nullable VcsBranchDetectionOptions getVcsBranchDetectionOptions()
getVcsBranchDetectionOptions
in interface VcsRepositoryData
@Nullable public @Nullable VcsRepositoryViewerDefinition getViewerConfiguration()
getViewerConfiguration
in interface VcsRepositoryData
@Nullable public @Nullable VcsBambooSpecsDetectionOptions getBambooSpecsDetectionOptions()
getBambooSpecsDetectionOptions
in interface VcsRepositoryData
public boolean isMarkedForDeletion()
isMarkedForDeletion
in interface VcsRepositoryData
public boolean isLinked()
isLinked
in interface VcsRepositoryData
public boolean isShared()
isShared
in interface VcsRepositoryData
public boolean isLegacyRepository()
isLegacyRepository
in interface VcsRepositoryData
public boolean isRootVcsProject()
isRootVcsProject
in interface VcsRepositoryData
@Nullable public @Nullable Long getProjectId()
getProjectId
in interface ProjectIdProvider
getProjectId
in interface VcsRepositoryData
@NotNull public @NotNull RepositoryData asLegacyData()
asLegacyData
in interface VcsRepositoryData
@Nullable public @Nullable Long getParentId()
VcsRepositoryData
getParentId
in interface VcsRepositoryData
@Nullable public @Nullable BambooEntityOid getParentOid()
VcsRepositoryData
getParentOid
in interface VcsRepositoryData
public boolean isRootVcsLinked()
isRootVcsLinked
in interface VcsRepositoryData
public long getRootVcsRepositoryId()
VcsRepositoryData
VcsRepositoryData.isRootVcsLinked()
returns true, this method returns id of that linked repository.getRootVcsRepositoryId
in interface VcsRepositoryData
public boolean isRootVcsShared()
isRootVcsShared
in interface VcsRepositoryData
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.