Class PartialVcsRepositoryDataBuilder
- java.lang.Object
-
- com.atlassian.bamboo.vcs.configuration.PartialVcsRepositoryDataBuilder
-
public class PartialVcsRepositoryDataBuilder extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static long
NEW_REPOSITORY
-
Method Summary
-
-
-
Field Detail
-
NEW_REPOSITORY
public static final long NEW_REPOSITORY
- See Also:
- Constant Field Values
-
-
Method Detail
-
newBuilder
public static PartialVcsRepositoryDataBuilder newBuilder()
-
copyWithEmptyConfig
public PartialVcsRepositoryDataBuilder copyWithEmptyConfig(@Nullable @Nullable PartialVcsRepositoryData other)
-
fullCopy
public PartialVcsRepositoryDataBuilder fullCopy(@NotNull @NotNull PartialVcsRepositoryData other)
-
id
public PartialVcsRepositoryDataBuilder id(long id)
-
name
public PartialVcsRepositoryDataBuilder name(String name)
-
oid
public PartialVcsRepositoryDataBuilder oid(BambooEntityOid oid)
-
description
public PartialVcsRepositoryDataBuilder description(String description)
-
serverConfiguration
public PartialVcsRepositoryDataBuilder serverConfiguration(@Nullable @Nullable Map<String,String> serverConfiguration)
-
changeDetectionConfiguration
public PartialVcsRepositoryDataBuilder changeDetectionConfiguration(@Nullable @Nullable Map<String,String> changeDetectionConfiguration)
-
branchDetectionConfiguration
public PartialVcsRepositoryDataBuilder branchDetectionConfiguration(@Nullable @Nullable Map<String,String> branchDetectionConfiguration)
-
bambooSpecsDetectionConfiguration
public PartialVcsRepositoryDataBuilder bambooSpecsDetectionConfiguration(@Nullable @Nullable Map<String,String> bambooSpecsDetectionConfiguration)
-
branchConfiguration
public PartialVcsRepositoryDataBuilder branchConfiguration(@Nullable @Nullable Map<String,String> branchConfiguration)
-
vcsBranch
public PartialVcsRepositoryDataBuilder vcsBranch(VcsBranch vcsBranch)
-
viewerPluginKey
public PartialVcsRepositoryDataBuilder viewerPluginKey(String viewerPluginKey)
-
viewerConfiguration
public PartialVcsRepositoryDataBuilder viewerConfiguration(Map<String,String> viewerConfiguration)
-
legacyXml
public PartialVcsRepositoryDataBuilder legacyXml(String legacyXml)
-
legacyViewerXml
public PartialVcsRepositoryDataBuilder legacyViewerXml(String legacyXml)
-
linked
public PartialVcsRepositoryDataBuilder linked(boolean isLinked)
-
pluginKey
public PartialVcsRepositoryDataBuilder pluginKey(String pluginKey)
-
inheritedData
public PartialVcsRepositoryDataBuilder inheritedData(VcsRepositoryData inheritedData)
-
projectId
public PartialVcsRepositoryDataBuilder projectId(Long projectId)
-
version
public PartialVcsRepositoryDataBuilder version(Long version)
-
getLegacyXml
@Deprecated public String getLegacyXml()
Deprecated.don't use if you don't have to
-
getBranchConfiguration
@Deprecated public Map<String,String> getBranchConfiguration()
Deprecated.don't use if you don't have to
-
build
public PartialVcsRepositoryData build()
-
-