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 String getPluginKey()
getPluginKey
in interface PluginKeyProvider
@NotNull public String getName()
getName
in interface DescriptionProvider
getName
in interface NameProvider
@Nullable public String getDescription()
getDescription
in interface DescriptionProvider
@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 VcsRepositoryViewerDefinition getViewerConfiguration()
getViewerConfiguration
in interface VcsRepositoryData
@Nullable public 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 Long getProjectId()
getProjectId
in interface ProjectIdProvider
getProjectId
in interface VcsRepositoryData
@NotNull public RepositoryData asLegacyData()
asLegacyData
in interface VcsRepositoryData
@Nullable public Long getParentId()
VcsRepositoryData
getParentId
in interface VcsRepositoryData
@Nullable public 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 © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.