Modifier and Type | Method and Description |
---|---|
PartialVcsRepositoryData |
VcsConfigurationHelperImpl.reconfigureRepositoryWithMavenData(VcsRepositoryModuleDescriptor oldModuleDescriptor,
PartialVcsRepositoryData oldData,
VcsRepositoryModuleDescriptor newModuleDescriptor,
Map<String,String> newServerConfiguration,
VcsBranch vcsBranch,
String webRepositoryUrl) |
Modifier and Type | Class and Description |
---|---|
class |
VcsBranchImpl |
Modifier and Type | Method and Description |
---|---|
VcsBranch |
VcsBranchIntegrationHelper.getIntegrationVcsBranch(BuildContext buildContext) |
VcsBranch |
BranchIntegrationHelperImpl.getIntegrationVcsBranch(BuildContext buildContext) |
Modifier and Type | Method and Description |
---|---|
List<VcsBranch> |
BranchDetectionServiceImpl.getOpenBranches(ImmutableChain chain,
ErrorCollection errorCollection) |
List<VcsBranch> |
BranchDetectionService.getOpenBranches(ImmutableChain chain,
ErrorCollection errorCollection)
Returns a list of currently open branches for the chain's default repository
List ordering determined by underlying repository (preference is for native ordering e.g.
|
Modifier and Type | Method and Description |
---|---|
PlanKey |
BranchDetectionServiceImpl.createChainBranch(ImmutableChain chain,
PlanBranchWorkflow planBranchWorkflow,
String branchName,
VcsBranch vcsBranch,
BuildConfiguration buildConfiguration,
PlanCreationService.EnablePlan enablePlan,
boolean enableExpiry) |
PlanKey |
BranchDetectionService.createChainBranch(ImmutableChain chain,
PlanBranchWorkflow planBranchWorkflow,
String branchName,
VcsBranch vcsBranch,
BuildConfiguration buildConfiguration,
PlanCreationService.EnablePlan enablePlan,
boolean enableExpiry)
Given a branch name and (optionally) vcs branch name, creates a plan branch, overriding repository definition.
|
PlanKey |
BranchDetectionServiceImpl.createChainBranch(ImmutableChain chain,
String branchName,
VcsBranch vcsBranch,
BuildConfiguration buildConfiguration,
PlanCreationService.EnablePlan enablePlan,
boolean enableExpiry) |
PlanKey |
BranchDetectionService.createChainBranch(ImmutableChain chain,
String branchName,
VcsBranch vcsBranch,
BuildConfiguration buildConfiguration,
PlanCreationService.EnablePlan enablePlan,
boolean enableExpiry)
Given a branch name and (optionally) vcs branch name, create Plan Branches with overriding repository
definitions.
|
PlanKey |
BranchDetectionServiceImpl.createChainBranch(ImmutableChain chain,
String branchName,
VcsBranch vcsBranch,
PlanCreationService.EnablePlan enablePlan,
boolean enableExpiry) |
PlanKey |
BranchDetectionService.createChainBranch(ImmutableChain chain,
String branchName,
VcsBranch vcsBranch,
PlanCreationService.EnablePlan enablePlan,
boolean enableExpiry)
|
static String |
ChainBranchUtils.getValidChainBranchName(VcsBranch newBranch) |
MergeResult |
VcsBranchIntegrationHelper.merge(BuildContext buildContext,
VcsRepositoryData repositoryData,
VcsRepositoryModuleDescriptor moduleDescriptor,
VcsBranch integrationBranch,
File mergeDir,
BuildLogger logger) |
MergeResult |
BranchIntegrationHelperImpl.merge(BuildContext buildContext,
VcsRepositoryData defaultRepositoryDefinition,
VcsRepositoryModuleDescriptor moduleDescriptor,
VcsBranch integrationBranch,
File mergeDir,
BuildLogger logger) |
Modifier and Type | Method and Description |
---|---|
void |
VcsBranchManagerImpl.createAll(ImmutableChain chain,
Iterable<VcsBranch> vcsBranches) |
void |
VcsBranchManager.createAll(ImmutableChain chain,
Iterable<VcsBranch> requestedBranchesToSave)
Creates new VCS branches.
|
Collection<PlanKey> |
BranchDetectionServiceImpl.createPlanBranches(ImmutableChain chain,
Collection<VcsBranch> branches,
ErrorCollection errorCollection) |
Collection<PlanKey> |
BranchDetectionService.createPlanBranches(ImmutableChain chain,
Collection<VcsBranch> branches,
ErrorCollection errorCollection)
Given a list of branch names, create Plan Branches for these, with overriding repository definitions.
|
Collection<PlanKey> |
BranchDetectionServiceImpl.createPlanBranches(ImmutableChain chain,
Collection<VcsBranch> branches,
ErrorCollection errorCollection,
PlanCreationService.EnablePlan enablePlan) |
Collection<PlanKey> |
BranchDetectionService.createPlanBranches(ImmutableChain chain,
Collection<VcsBranch> branches,
ErrorCollection errorCollection,
PlanCreationService.EnablePlan enablePlan)
Given a list of branch names, create Plan Branches for these, with overriding repository definitions.
|
Collection<PlanKey> |
BranchDetectionServiceImpl.createPlanBranches(ImmutableChain chain,
PlanBranchWorkflow planBranchWorkflow,
Collection<VcsBranch> branches,
ErrorCollection errorCollection,
PlanCreationService.EnablePlan enablePlan) |
Collection<PlanKey> |
BranchDetectionService.createPlanBranches(ImmutableChain chain,
PlanBranchWorkflow planBranchWorkflow,
Collection<VcsBranch> branches,
ErrorCollection errorCollection,
PlanCreationService.EnablePlan enablePlan)
Given a list of branch names, create plan branches for these, with overriding repository definitions.
|
void |
VcsBranchManagerImpl.saveAll(ImmutableChain chain,
Iterable<VcsBranch> vcsBranches) |
void |
VcsBranchManager.saveAll(ImmutableChain chain,
Iterable<VcsBranch> requestedBranchesToSave)
Deprecated.
since 5.14 use
VcsBranchManager.createAll(ImmutableChain, Iterable) |
Constructor and Description |
---|
BambooVcsBranchImpl(Chain chain,
VcsBranch newBranch) |
VcsBranchImpl(VcsBranch other) |
Modifier and Type | Method and Description |
---|---|
VcsBranch |
PlanVcsRevisionData.getActualBranch()
Vcs branch on which change actually is.
|
VcsBranch |
PlanVcsRevisionData.getOverriddenBranch()
Deprecated.
since 5.14 use
PlanVcsRevisionData.getActualBranch() |
Constructor and Description |
---|
PlanVcsRevisionData(String vcsRevisionKey,
String customXmlData,
VcsBranch actualBranch) |
Modifier and Type | Method and Description |
---|---|
VcsBranch |
BitbucketRepository.getVcsBranch() |
Modifier and Type | Method and Description |
---|---|
List<VcsBranch> |
BitbucketRepository.getOpenBranches(String context) |
Modifier and Type | Method and Description |
---|---|
void |
BitbucketRepository.setVcsBranch(VcsBranch branch) |
Modifier and Type | Method and Description |
---|---|
List<VcsBranch> |
BitbucketCloudBranchDetector.getOpenBranches(VcsRepositoryData repositoryData) |
Modifier and Type | Method and Description |
---|---|
VcsWorkingCopy |
BitbucketCloudWorkingCopyManager.checkoutAndMerge(CommonContext commonContext,
VcsRepositoryData vcsRepositoryData,
VcsBranch targetBranch,
PlanVcsRevisionData revisionOnTarget,
VcsBranch sourceBranch,
PlanVcsRevisionData sourceRevision,
File targetPath) |
Modifier and Type | Method and Description |
---|---|
VcsBranch |
BitbucketCloudBranchConfigurator.createVcsBranchFromName(String name) |
VcsBranch |
BitbucketCloudBranchConfigurator.getVcsBranchFromConfig(Map<String,String> configMap) |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
BitbucketCloudBranchConfigurator.setVcsBranchInConfig(Map<String,String> configMap,
VcsBranch vcsBranch) |
Modifier and Type | Method and Description |
---|---|
VcsBranch |
GitRepository.getVcsBranch() |
VcsBranch |
GitRepositoryAccessData.getVcsBranch() |
VcsBranch |
GitHubRepositoryAccessData.getVcsBranch() |
VcsBranch |
GitHubRepository.getVcsBranch() |
Modifier and Type | Method and Description |
---|---|
List<VcsBranch> |
JGitOperationHelper.getOpenBranches(GitRepositoryAccessData repositoryData,
File workingDir) |
List<VcsBranch> |
GitOperationHelper.getOpenBranches(GitRepositoryAccessData repositoryData,
File workingDir) |
List<VcsBranch> |
NativeGitOperationHelper.getOpenBranches(GitRepositoryAccessData repositoryData,
File workingDir) |
List<VcsBranch> |
GitRepository.getOpenBranches(String context) |
List<VcsBranch> |
GitHubRepository.getOpenBranches(String context) |
Modifier and Type | Method and Description |
---|---|
GitRepositoryAccessData.Builder |
GitRepositoryAccessData.Builder.branch(VcsBranch branch) |
GitHubRepositoryAccessData.Builder |
GitHubRepositoryAccessData.Builder.branch(VcsBranch vcsBranch) |
void |
GitRepository.setVcsBranch(VcsBranch branch) |
void |
GitHubRepository.setVcsBranch(VcsBranch vcsBranch) |
Modifier and Type | Method and Description |
---|---|
List<VcsBranch> |
GitBranchDetector.getOpenBranches(VcsRepositoryData repositoryData) |
Modifier and Type | Method and Description |
---|---|
VcsWorkingCopy |
GitWorkingCopyManager.checkoutAndMerge(CommonContext commonContext,
VcsRepositoryData vcsRepositoryData,
VcsBranch targetBranch,
PlanVcsRevisionData revisionOnTarget,
VcsBranch sourceBranch,
PlanVcsRevisionData sourceRevision,
File targetPath) |
Modifier and Type | Method and Description |
---|---|
VcsBranch |
GitBranchConfigurator.createVcsBranchFromName(String name) |
VcsBranch |
GitBranchConfigurator.getVcsBranchFromConfig(Map<String,String> configMap) |
VcsBranch |
GitMavenPomAccessor.parseMavenScmUrlToVcsBranch(String mavenScmUrl,
VcsRepositoryData existingData) |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
GitBranchConfigurator.setVcsBranchInConfig(Map<String,String> configMap,
VcsBranch vcsBranch) |
Modifier and Type | Method and Description |
---|---|
VcsBranch |
HgRepository.getVcsBranch() |
Modifier and Type | Method and Description |
---|---|
List<VcsBranch> |
HgRepository.getOpenBranches(String context) |
Modifier and Type | Method and Description |
---|---|
void |
HgRepository.setVcsBranch(VcsBranch branch) |
Modifier and Type | Method and Description |
---|---|
List<VcsBranch> |
MercurialBranchDetector.getOpenBranches(VcsRepositoryData repositoryData) |
Modifier and Type | Method and Description |
---|---|
VcsWorkingCopy |
MercurialWorkingCopyManager.checkoutAndMerge(CommonContext commonContext,
VcsRepositoryData vcsRepositoryData,
VcsBranch targetBranch,
PlanVcsRevisionData revisionOnTarget,
VcsBranch sourceBranch,
PlanVcsRevisionData sourceRevision,
File targetPath) |
Modifier and Type | Method and Description |
---|---|
VcsBranch |
MercurialBranchConfigurator.createVcsBranchFromName(String name) |
VcsBranch |
MercurialBranchConfigurator.getVcsBranchFromConfig(Map<String,String> configMap) |
VcsBranch |
MercurialMavenPomAccessor.parseMavenScmUrlToVcsBranch(String mavenScmUrl,
VcsRepositoryData existingData) |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
MercurialBranchConfigurator.setVcsBranchInConfig(Map<String,String> configMap,
VcsBranch vcsBranch) |
Modifier and Type | Method and Description |
---|---|
static RestVcsBranch |
RestVcsBranch.from(VcsBranch branch) |
Modifier and Type | Method and Description |
---|---|
VcsBranch |
StashRepositoryImpl.getVcsBranch() |
Modifier and Type | Method and Description |
---|---|
List<VcsBranch> |
StashRepositoryImpl.getOpenBranches(String context) |
Modifier and Type | Method and Description |
---|---|
void |
StashRepositoryImpl.setVcsBranch(VcsBranch vcsBranch) |
Modifier and Type | Method and Description |
---|---|
List<VcsBranch> |
BitbucketServerBranchDetector.getOpenBranches(VcsRepositoryData repositoryData) |
Modifier and Type | Method and Description |
---|---|
VcsWorkingCopy |
BitbucketServerWorkingCopyManager.checkoutAndMerge(CommonContext commonContext,
VcsRepositoryData vcsRepositoryData,
VcsBranch targetBranch,
PlanVcsRevisionData revisionOnTarget,
VcsBranch sourceBranch,
PlanVcsRevisionData sourceRevision,
File targetPath) |
Modifier and Type | Method and Description |
---|---|
VcsBranch |
BitbucketServerBranchConfigurator.createVcsBranchFromName(String name) |
VcsBranch |
BitbucketServerBranchConfigurator.getVcsBranchFromConfig(Map<String,String> configMap) |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
BitbucketServerBranchConfigurator.setVcsBranchInConfig(Map<String,String> configMap,
VcsBranch vcsBranch) |
Modifier and Type | Method and Description |
---|---|
VcsBranch |
BranchAwareRepository.getVcsBranch() |
Modifier and Type | Method and Description |
---|---|
List<VcsBranch> |
RepositoryCachingFacadeImpl.getOpenBranches(BranchDetectionCapableRepository repository,
String context) |
List<VcsBranch> |
RepositoryCachingFacade.getOpenBranches(BranchDetectionCapableRepository repository,
String context)
Deprecated.
|
List<VcsBranch> |
BranchDetectionCapableRepository.getOpenBranches(String context)
Deprecated.
Set of open branches that are discovered in the repository. |
List<VcsBranch> |
RepositoryCachingFacadeImpl.getOpenBranches(VcsBranchDetector branchDetector,
VcsRepositoryData repositoryData) |
List<VcsBranch> |
RepositoryCachingFacade.getOpenBranches(VcsBranchDetector branchDetector,
VcsRepositoryData repositoryData) |
Modifier and Type | Method and Description |
---|---|
void |
BranchAwareRepository.setVcsBranch(VcsBranch branch)
Set and prepare the repository for using an arbitrary branch.
|
Modifier and Type | Method and Description |
---|---|
VcsBranch |
SvnRepository.getVcsBranch() |
Modifier and Type | Method and Description |
---|---|
List<VcsBranch> |
SvnRepository.getOpenBranches(String context) |
Modifier and Type | Method and Description |
---|---|
void |
SvnRepository.setVcsBranch(VcsBranch branch) |
void |
SvnRepository.setVcsBranch(VcsBranch branch,
org.apache.commons.configuration.HierarchicalConfiguration customConfiguration) |
Modifier and Type | Method and Description |
---|---|
VcsBranch |
SvnRepositoryAccessData.getBranch() |
VcsBranch |
SvnMavenPomAccessor.parseMavenScmUrlToVcsBranch(String mavenScmUrl,
VcsRepositoryData existingData) |
Modifier and Type | Method and Description |
---|---|
List<VcsBranch> |
SvnBranchDetector.getOpenBranches(VcsRepositoryData repositoryData) |
Modifier and Type | Method and Description |
---|---|
SvnRepositoryAccessData.Builder |
SvnRepositoryAccessData.Builder.branch(VcsBranch branch) |
Modifier and Type | Method and Description |
---|---|
VcsBranch |
SvnBranchConfigurator.createVcsBranchFromName(String name) |
VcsBranch |
SvnBranchConfigurator.getVcsBranchFromConfig(Map<String,String> configMap) |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
SvnBranchConfigurator.setVcsBranchInConfig(Map<String,String> configMap,
VcsBranch vcsBranch) |
Modifier and Type | Method and Description |
---|---|
VcsBranch |
BuildRepositoryChangesImpl.getActualBranch() |
VcsBranch |
BuildRepositoryChanges.getActualBranch() |
VcsBranch |
BuildRepositoryChangesImpl.getOverriddenVcsBranch() |
VcsBranch |
BuildRepositoryChanges.getOverriddenVcsBranch()
Deprecated.
since 5.14 use
BuildRepositoryChanges.getActualBranch() |
Modifier and Type | Method and Description |
---|---|
void |
BuildRepositoryChangesImpl.setActualBranch(VcsBranch actualBranch) |
void |
BuildRepositoryChanges.setActualBranch(VcsBranch actualBranch) |
void |
BuildRepositoryChangesImpl.setOverriddenVcsBranch(VcsBranch overriddenVcsBranch) |
void |
BuildRepositoryChanges.setOverriddenVcsBranch(VcsBranch effectiveVcsBranchName)
Deprecated.
since 5.14 use
BuildRepositoryChanges.setActualBranch(VcsBranch) |
Constructor and Description |
---|
BuildRepositoryChangesImpl(long repositoryId,
String vcsRevisionKey,
List<? extends CommitContext> changes,
VcsBranch actualBranch) |
Modifier and Type | Method and Description |
---|---|
VcsBranch |
VcsBranchDefinitionImpl.getVcsBranch() |
VcsBranch |
VcsBranchDefinition.getVcsBranch() |
Modifier and Type | Method and Description |
---|---|
static PartialVcsRepositoryDataImpl |
PartialVcsRepositoryDataImpl.createChildWithNewBranch(VcsRepositoryData repositoryDefinition,
VcsBranch newBranch,
VcsBranchConfigurator vcsBranchConfigurator)
Create overriding repository which overrides branch.
|
PartialVcsRepositoryDataBuilder |
PartialVcsRepositoryDataBuilder.vcsBranch(VcsBranch vcsBranch) |
Constructor and Description |
---|
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) |
VcsBranchDefinitionImpl(Map<String,String> configuration,
VcsBranch vcsBranch) |
Modifier and Type | Method and Description |
---|---|
List<VcsBranch> |
LegacyBranchDetector.getOpenBranches(VcsRepositoryData repositoryData) |
Modifier and Type | Method and Description |
---|---|
VcsWorkingCopy |
LegacyWorkingCopyManager.checkoutAndMerge(CommonContext commonContext,
VcsRepositoryData vcsRepositoryData,
VcsBranch targetBranch,
PlanVcsRevisionData revisionOnTarget,
VcsBranch sourceBranch,
PlanVcsRevisionData sourceRevision,
File targetPath) |
Modifier and Type | Method and Description |
---|---|
VcsBranch |
LegacyBranchConfigurator.createVcsBranchFromName(String name) |
VcsBranch |
LegacyBranchConfigurator.getVcsBranchFromConfig(Map<String,String> configMap) |
VcsBranch |
LegacyBranchConfigurator.getVcsBranchFromRepositoryXml(String legacyXml) |
Modifier and Type | Method and Description |
---|---|
String |
LegacyBranchConfigurator.getXmlStringWithNewVcsBranch(VcsBranch newBranch,
org.apache.commons.configuration.HierarchicalConfiguration hc) |
Map<String,String> |
LegacyBranchConfigurator.setVcsBranchInConfig(Map<String,String> configMap,
VcsBranch vcsBranch) |
Modifier and Type | Method and Description |
---|---|
VcsBranch |
RawRepositoryConfiguration.getVcsBranch() |
VcsBranch |
RawRepositoryConfigurationImpl.getVcsBranch() |
Modifier and Type | Method and Description |
---|---|
PartialVcsRepositoryData |
VcsConfigurationHelper.reconfigureRepositoryWithMavenData(VcsRepositoryModuleDescriptor oldModuleDescriptor,
PartialVcsRepositoryData oldData,
VcsRepositoryModuleDescriptor newModuleDescriptor,
Map<String,String> newServerConfiguration,
VcsBranch vcsBranch,
String webRepositoryUrl)
Creates new repository configuration according to data found in a maven pom.xml.
|
RawRepositoryConfigurationImpl.Builder |
RawRepositoryConfigurationImpl.Builder.vcsBranch(VcsBranch vcsBranch) |
Modifier and Type | Method and Description |
---|---|
VcsBranch |
VcsBranchConfigurator.createVcsBranchFromName(String name)
Create new vcs branch instance given it's name
|
VcsBranch |
VcsBranchConfigurator.getVcsBranchFromConfig(Map<String,String> configMap)
Return branch name according to provided config.
|
default VcsBranch |
VcsMavenPomAccessor.parseMavenScmUrlToVcsBranch(String mavenScmUrl,
VcsRepositoryData existingData)
Parse and setup internal structures from Maven's SCM URL provider specific part.
|
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
VcsBranchConfigurator.setVcsBranchInConfig(Map<String,String> configMap,
VcsBranch vcsBranch)
Modify config map setting branch to provided one.
|
Modifier and Type | Method and Description |
---|---|
List<VcsBranch> |
VcsBranchDetector.getOpenBranches(VcsRepositoryData repositoryData)
Set of open branches that are discovered in the repository. |
Modifier and Type | Method and Description |
---|---|
VcsWorkingCopy |
MergingVcsWorkingCopyManager.checkoutAndMerge(CommonContext commonContext,
VcsRepositoryData vcsRepositoryData,
VcsBranch targetBranch,
PlanVcsRevisionData revisionOnTarget,
VcsBranch sourceBranch,
PlanVcsRevisionData sourceRevision,
File targetPath)
Checks out the targetBranch and merges sourceBranch to it.
|
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.