public class PartialVcsRepositoryDataImpl extends Object implements PartialVcsRepositoryData
Modifier | Constructor and Description |
---|---|
protected |
PartialVcsRepositoryDataImpl(long id,
BambooEntityOid oid,
String pluginKey,
String name,
String description,
VcsBranch vcsBranch,
String viewerPluginKey,
Map<String,String> serverConfiguration,
Map<String,String> changeDetectionConfiguration,
Map<String,String> branchDetectionConfiguration,
Map<String,String> branchConfiguration,
Map<String,String> viewerConfiguration,
Map<String,String> bambooSpecsDetectionConfiguration,
String legacyXml,
String legacyViewerXml,
boolean linked,
VcsRepositoryData inheritedData) |
|
PartialVcsRepositoryDataImpl(RepositoryDataEntity repositoryData,
RawRepositoryConfiguration rawRepositoryConfiguration,
VcsRepositoryData inheritedData) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEntityType
protected PartialVcsRepositoryDataImpl(long id, BambooEntityOid oid, String pluginKey, String name, String description, VcsBranch vcsBranch, String viewerPluginKey, Map<String,String> serverConfiguration, Map<String,String> changeDetectionConfiguration, Map<String,String> branchDetectionConfiguration, Map<String,String> branchConfiguration, Map<String,String> viewerConfiguration, Map<String,String> bambooSpecsDetectionConfiguration, String legacyXml, String legacyViewerXml, boolean linked, VcsRepositoryData inheritedData)
public PartialVcsRepositoryDataImpl(@NotNull RepositoryDataEntity repositoryData, @NotNull RawRepositoryConfiguration rawRepositoryConfiguration, @Nullable VcsRepositoryData inheritedData)
public static PartialVcsRepositoryDataImpl createChild(@NotNull VcsRepositoryData repositoryData)
public static PartialVcsRepositoryDataImpl createChildWithNewBranch(VcsRepositoryData repositoryDefinition, VcsBranch newBranch, VcsBranchConfigurator vcsBranchConfigurator)
@Nullable public VcsRepositoryData getInheritedData()
PartialVcsRepositoryData
getInheritedData
in interface PartialVcsRepositoryData
public boolean overridesLocation()
overridesLocation
in interface PartialVcsRepositoryData
public boolean overridesBranch()
overridesBranch
in interface PartialVcsRepositoryData
public boolean overridesChangeDetectionOptions()
overridesChangeDetectionOptions
in interface PartialVcsRepositoryData
public boolean overridesBranchDetectionOptions()
overridesBranchDetectionOptions
in interface PartialVcsRepositoryData
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
@Nullable public VcsLocationDefinition getVcsLocation()
getVcsLocation
in interface PartialVcsRepositoryData
@Nullable public VcsBranchDefinition getBranch()
getBranch
in interface PartialVcsRepositoryData
@Nullable public VcsChangeDetectionOptions getVcsChangeDetectionOptions()
getVcsChangeDetectionOptions
in interface PartialVcsRepositoryData
@Nullable public VcsBranchDetectionOptions getVcsBranchDetectionOptions()
getVcsBranchDetectionOptions
in interface PartialVcsRepositoryData
@Nullable public VcsBambooSpecsDetectionOptions getBambooSpecsConfiguration()
getBambooSpecsConfiguration
in interface PartialVcsRepositoryData
@Nullable public VcsRepositoryViewerDefinition getViewerConfiguration()
getViewerConfiguration
in interface PartialVcsRepositoryData
public boolean isMarkedForDeletion()
isMarkedForDeletion
in interface PartialVcsRepositoryData
public boolean isLinked()
isLinked
in interface PartialVcsRepositoryData
public boolean isRootVcsLinked()
isRootVcsLinked
in interface PartialVcsRepositoryData
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 PartialVcsRepositoryData
@NotNull public RepositoryData asLegacyData()
asLegacyData
in interface PartialVcsRepositoryData
@NotNull public VcsRepositoryData getCompleteData()
PartialVcsRepositoryData
getCompleteData
in interface PartialVcsRepositoryData
@Nullable public Long getParentId()
PartialVcsRepositoryData
getParentId
in interface PartialVcsRepositoryData
@Nullable public BambooEntityOid getParentOid()
PartialVcsRepositoryData
getParentOid
in interface PartialVcsRepositoryData
public long getRootVcsRepositoryId()
PartialVcsRepositoryData
getRootVcsRepositoryId
in interface PartialVcsRepositoryData
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.