Uses of Interface
com.atlassian.bamboo.plan.branch.VcsBranch
Package
Description
-
Uses of VcsBranch in com.atlassian.bamboo.configuration.external
Modifier and TypeMethodDescriptionSpecsConsumerFactory.createDivergentBranchSpecsCreationConsumer
(@NotNull VcsBranch newBranch, @NotNull PlanBranchWorkflow planBranchWorkflow, @NotNull Multimap<ImmutableChain, PlanKey> chainsAndBranchKeys, PlanCreationService.EnablePlan enablePlan) Create Specs consumer used for creating divergent branchesSpecsConsumerFactory.createDivergentBranchSpecsUpdateConsumer
(@NotNull VcsBranch branch, @NotNull Multimap<ImmutableChain, PlanKey> chainsAndBranchKeys) Create Specs consumer used for updating divergent branchesEnqueue RSS detection for repository with the given ID and branch.Enqueue RSS detection for repository with the given ID and branch.RssDetectionService.enqueue
(long repositoryId, @NotNull VcsBranch vcsBranch, boolean force, @NotNull SpecsConsumer specsConsumer) Enqueue RSS detection for repository with the given ID and given branch.RssDetectionServiceImpl.enqueue
(long repositoryId, @NotNull VcsBranch vcsBranch, boolean force, @NotNull SpecsConsumer specsConsumer) @NotNull PlanConfigImportService.ImportResult
PlanConfigImportService.importPlanBranch
(@NotNull com.atlassian.bamboo.specs.api.model.plan.PlanProperties planProperties, @NotNull VcsBranch vcsBranch, @Nullable com.atlassian.user.User user, @NotNull RssPermissions rssPermissions) Import plan branch using specs.@NotNull PlanConfigImportService.ImportResult
PlanConfigImportServiceImpl.importPlanBranch
(@NotNull com.atlassian.bamboo.specs.api.model.plan.PlanProperties planProperties, @NotNull VcsBranch vcsBranch, @Nullable com.atlassian.user.User user, @NotNull RssPermissions rssPermissions) boolean
RssDetectionService.isInProgress
(long repositoryId, @NotNull VcsBranch vcsBranch) boolean
RssDetectionServiceImpl.isInProgress
(long repositoryId, @NotNull VcsBranch vcsBranch) void
RssDetectionServiceImpl.reportFailedSpecsScan
(long repositoryId, @NotNull VcsBranch vcsBranch, @NotNull String errorMessage, boolean specsNotFound) void
RepositoryStoredSpecsService.runBambooSpecs
(@NotNull SpecsConsumer specsConsumer, @NotNull VcsRepositoryModuleDescriptor vcsRepositoryModuleDescriptor, @NotNull VcsRepositoryData repository, @NotNull VcsBranch vcsBranch, @NotNull VcsLocationBambooSpecsState specsState, @NotNull List<CommitContext> commits, boolean shouldReportMissingSpecs) Execute Bamboo Specs and import resultsvoid
RepositoryStoredSpecsServiceImpl.runBambooSpecs
(@NotNull SpecsConsumer specsConsumer, @NotNull VcsRepositoryModuleDescriptor vcsRepositoryModuleDescriptor, @NotNull VcsRepositoryData repository, @NotNull VcsBranch vcsBranch, @NotNull VcsLocationBambooSpecsState specsState, @NotNull List<CommitContext> commits, boolean shouldReportMissingSpecs) boolean
RssDetectionServiceImpl.runRssDetection
(long repositoryId, @NotNull VcsBranch vcsBranch, boolean forced, @NotNull SpecsConsumer specsConsumer) Runs Repository-stored Specs detection for the given repository.@NotNull PlanConfigImportService.ImportResult
PlanConfigImportService.updatePlanBranch
(@NotNull com.atlassian.bamboo.specs.api.model.plan.PlanProperties planProperties, @NotNull VcsBranch vcsBranch, @Nullable com.atlassian.user.User user, @NotNull RssPermissions rssPermissions, @NotNull DivergentBranchDataBean branchDataBean, boolean deferEvents, boolean noChangesInProperties) Update plan branch using specs.@NotNull PlanConfigImportService.ImportResult
PlanConfigImportServiceImpl.updatePlanBranch
(@NotNull com.atlassian.bamboo.specs.api.model.plan.PlanProperties planProperties, @NotNull VcsBranch vcsBranch, @Nullable com.atlassian.user.User user, @NotNull RssPermissions rssPermissions, @NotNull DivergentBranchDataBean branchCreationData, boolean deferEvents, boolean noChangesInProperties) void
PlanConfigImportService.validatePlanBranchProperties
(@NotNull com.atlassian.bamboo.specs.api.model.plan.PlanProperties planProperties, @NotNull RssPermissions rssPermissions, @NotNull VcsBranch importedBranch) This method performs validation of YAML types and of the properties without Bamboo context (e.g.void
PlanConfigImportServiceImpl.validatePlanBranchProperties
(@NotNull com.atlassian.bamboo.specs.api.model.plan.PlanProperties planProperties, @NotNull RssPermissions rssPermissions, @NotNull VcsBranch vcsBranch) -
Uses of VcsBranch in com.atlassian.bamboo.configuration.external.detection
Modifier and TypeMethodDescriptionRssDetectionQueue.RssDetectionWorkKey.getVcsBranch()
@NotNull VcsBranch
RssDetectionWork.getVcsBranch()
Modifier and TypeMethodDescriptionRssDetectionQueue.enqueue
(long repositoryId, @NotNull VcsBranch vcsBranch, boolean force, @NotNull SpecsConsumer specsConsumer) Enqueue work for a repository with the given Id and optional branch.boolean
RssDetectionQueue.isInProgress
(long vcsRepositoryId, @NotNull VcsBranch vcsBranch) ModifierConstructorDescriptionRssDetectionWork
(long repositoryId, @NotNull VcsBranch vcsBranch, boolean forced, @NotNull SpecsConsumer specsConsumer) -
Uses of VcsBranch in com.atlassian.bamboo.configuration.external.helpers
Modifier and TypeMethodDescription@NotNull TaskDefinition
TaskDefinitionExportHelper.importTaskDefinition
(long id, @NotNull TaskContainer taskContainer, @NotNull List<TaskDefinition> precedingTasks, @NotNull com.atlassian.bamboo.specs.api.model.task.TaskProperties taskProperties, @Nullable VcsBranch importedBranch, boolean finalTask) Import the task definition from its properties.void
TaskDefinitionExportHelper.validateTaskProperties
(@NotNull com.atlassian.bamboo.specs.api.model.plan.PlanProperties topLevelPlanProperties, @NotNull RssPermissions rssPermissions, @Nullable VcsBranch importedBranch) -
Uses of VcsBranch in com.atlassian.bamboo.configuration.external.rss
Modifier and TypeMethodDescriptionSpecsConsumerFactoryImpl.createDivergentBranchSpecsCreationConsumer
(@NotNull VcsBranch vcsBranch, @NotNull PlanBranchWorkflow planBranchWorkflow, @NotNull Multimap<ImmutableChain, PlanKey> chainsAndBranchKeys, PlanCreationService.EnablePlan enablePlan) SpecsConsumerFactoryImpl.createDivergentBranchSpecsUpdateConsumer
(@NotNull VcsBranch vcsBranch, @NotNull Multimap<ImmutableChain, PlanKey> chainsAndBranchKeys) -
Uses of VcsBranch in com.atlassian.bamboo.configuration.repository
Modifier and TypeMethodDescription@NotNull PartialVcsRepositoryData
VcsConfigurationHelperImpl.reconfigureRepositoryWithMavenData
(@NotNull VcsRepositoryModuleDescriptor oldModuleDescriptor, @NotNull PartialVcsRepositoryData oldData, @Nullable VcsRepositoryModuleDescriptor newModuleDescriptor, @NotNull Map<String, String> newServerConfiguration, @Nullable VcsBranch vcsBranch, @Nullable String webRepositoryUrl) -
Uses of VcsBranch in com.atlassian.bamboo.plan.branch
Modifier and TypeMethodDescription@Nullable VcsBranch
BranchIntegrationHelperImpl.getIntegrationVcsBranch
(@NotNull BuildContext buildContext) @Nullable VcsBranch
VcsBranchIntegrationHelper.getIntegrationVcsBranch
(@NotNull BuildContext buildContext) @NotNull VcsBranch
ChainBranchCreationResult.getVcsBranch()
@Nullable VcsBranch
MutablePlanBranchMetadata.getVcsBranch()
@Nullable VcsBranch
PlanBranchMetadata.getVcsBranch()
Vcs branch built by this plan branch.@Nullable VcsBranch
PlanBranchMetadataImpl.getVcsBranch()
Modifier and TypeMethodDescriptionBranchCreationFacade.getOpenBranches
(@NotNull ImmutableChain chain, @Nullable 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.BranchCreationFacade.getOpenBranches
(@NotNull ImmutableChain chain, @Nullable ErrorCollection errorCollection, @NotNull Optional<String> searchTerm) Returns a list of currently open branches for the chain's default repository List filtered by optional case-insensitive searchTerm.BranchCreationFacadeImpl.getOpenBranches
(@NotNull ImmutableChain chain, @Nullable ErrorCollection errorCollection) BranchCreationFacadeImpl.getOpenBranches
(@NotNull ImmutableChain chain, @Nullable ErrorCollection errorCollection, @NotNull Optional<String> searchTerm) BranchDetectionService.getOpenBranches
(@NotNull VariableSubstitutor variableSubstitutor, @NotNull VcsRepositoryData vcsRepositoryData, @NotNull VcsBranchDetector branchDetector, @Nullable ErrorCollection errorCollection, @NotNull Iterable<ImmutableChain> chains) Returns a list of currently open branches for given repository.BranchDetectionServiceImpl.getOpenBranches
(@NotNull VariableSubstitutor variableSubstitutor, @NotNull VcsRepositoryData vcsRepositoryData, @NotNull VcsBranchDetector branchDetector, @Nullable ErrorCollection errorCollection, @NotNull Iterable<ImmutableChain> chains) Modifier and TypeMethodDescription@NotNull ChainBranchCreationResult
BranchCreationFacade.createChainBranch
(@NotNull ImmutableChain chain, @NotNull PlanBranchWorkflow planBranchWorkflow, @NotNull String branchName, @Nullable String branchDescription, @Nullable VcsBranch vcsBranch, PlanCreationService.EnablePlan enablePlan, boolean enableExpiry) Given a branch name and (optionally) vcs branch name, creates a plan branch, overriding repository definition.@Nullable ChainBranchCreationResult
BranchCreationFacade.createChainBranch
(@NotNull ImmutableChain chain, @NotNull PlanBranchWorkflow planBranchWorkflow, @NotNull String branchName, @Nullable String branchDescription, @Nullable VcsBranch vcsBranch, PlanCreationService.EnablePlan enablePlan, boolean enableExpiry, @NotNull com.atlassian.struts.ValidationAware validationAware) Given a branch name and (optionally) vcs branch name, creates a plan branch, overriding repository definition.@NotNull ChainBranchCreationResult
BranchCreationFacadeImpl.createChainBranch
(@NotNull ImmutableChain chain, @NotNull PlanBranchWorkflow planBranchWorkflow, @NotNull String branchName, @Nullable String branchDescription, @Nullable VcsBranch vcsBranch, PlanCreationService.EnablePlan enablePlan, boolean enableExpiry) @Nullable ChainBranchCreationResult
BranchCreationFacadeImpl.createChainBranch
(@NotNull ImmutableChain chain, @NotNull PlanBranchWorkflow planBranchWorkflow, @NotNull String branchName, @Nullable String branchDescription, @Nullable VcsBranch vcsBranch, PlanCreationService.EnablePlan enablePlan, boolean enableExpiry, @NotNull com.atlassian.struts.ValidationAware validationAware) BranchDetectionService.createChainBranch
(@NotNull ImmutableChain chain, @NotNull String branchName, @Nullable VcsBranch vcsBranch, @Nullable BuildConfiguration buildConfiguration, PlanCreationService.EnablePlan enablePlan, boolean enableExpiry) Deprecated.temporary workaroundBranchDetectionServiceImpl.createChainBranch
(@NotNull ImmutableChain chain, @NotNull String branchName, @Nullable VcsBranch vcsBranch, @Nullable BuildConfiguration buildConfiguration, PlanCreationService.EnablePlan enablePlan, boolean enableExpiry) @NotNull ChainBranchCreationResult
LightweightBranchCreationService.createChainBranch
(@NotNull ImmutableChain chain, @NotNull PlanBranchWorkflow planBranchWorkflow, @NotNull String branchName, @Nullable String branchDescription, @Nullable PlanRepositoryDefinition defaultRepositoryDefinition, @Nullable VcsRepositoryModuleDescriptor moduleDescriptor, @Nullable VcsBranch newBranch, @NotNull BuildConfiguration buildConfiguration, PlanCreationService.EnablePlan enablePlan, boolean enableExpiry, @NotNull Consumer<PlanKey> branchPlanKeyConsumer, boolean expectingDivergentBranch) Creates a new lightweight plan branch for give chain.@NotNull ChainBranchCreationResult
LightweightBranchCreationService.createChainBranch
(@NotNull ImmutableChain chain, @NotNull PlanBranchWorkflow planBranchWorkflow, @NotNull String branchName, @Nullable String branchDescription, @Nullable PlanRepositoryDefinition defaultRepositoryDefinition, @Nullable VcsRepositoryModuleDescriptor moduleDescriptor, @Nullable VcsBranch newBranch, @NotNull BuildConfiguration buildConfiguration, PlanCreationService.EnablePlan enablePlan, boolean enableExpiry, @NotNull Consumer<PlanKey> branchPlanKeyConsumer, boolean expectingDivergentBranch, Optional<VcsPullRequest> pullRequest) Creates a new lightweight plan branch for give chain.@NotNull ChainBranchCreationResult
LightweightBranchCreationServiceImpl.createChainBranch
(@NotNull ImmutableChain chain, @NotNull PlanBranchWorkflow planBranchWorkflow, @NotNull String branchName, @Nullable String branchDescription, @Nullable PlanRepositoryDefinition defaultRepositoryDefinition, @Nullable VcsRepositoryModuleDescriptor moduleDescriptor, @Nullable VcsBranch newBranch, @NotNull BuildConfiguration buildConfiguration, PlanCreationService.EnablePlan enablePlan, boolean enableExpiry, @NotNull Consumer<PlanKey> branchPlanKeyConsumer, boolean expectingDivergentBranch) @NotNull ChainBranchCreationResult
LightweightBranchCreationServiceImpl.createChainBranch
(@NotNull ImmutableChain chain, @NotNull PlanBranchWorkflow planBranchWorkflow, @NotNull String branchName, @Nullable String branchDescription, @Nullable PlanRepositoryDefinition defaultRepositoryDefinition, @Nullable VcsRepositoryModuleDescriptor moduleDescriptor, @Nullable VcsBranch newBranch, @NotNull BuildConfiguration buildConfiguration, PlanCreationService.EnablePlan enablePlan, boolean enableExpiry, @NotNull Consumer<PlanKey> branchPlanKeyConsumer, boolean expectingDivergentBranch, Optional<VcsPullRequest> pullRequest) @NotNull ChainBranchCreationResult
LightweightBranchCreationService.enableExistingChainBranch
(@NotNull ImmutableChain chain, @NotNull ImmutableChainBranch existingChainBranch, @NotNull VcsBranch vcsBranch, PlanCreationService.EnablePlan enablePlan, boolean expectingDivergentBranch) Enables existing chain branch.@NotNull ChainBranchCreationResult
LightweightBranchCreationServiceImpl.enableExistingChainBranch
(@NotNull ImmutableChain chain, @NotNull ImmutableChainBranch existingChainBranch, @NotNull VcsBranch vcsBranch, PlanCreationService.EnablePlan enablePlan, boolean expectingDivergentBranch) static @NotNull String
ChainBranchUtils.getValidChainBranchName
(@NotNull VcsBranch newBranch) @NotNull MergeResult
BranchIntegrationHelperImpl.merge
(@NotNull BuildContext buildContext, @NotNull VcsRepositoryData defaultRepositoryDefinition, @NotNull VcsRepositoryModuleDescriptor moduleDescriptor, @NotNull VcsBranch integrationBranch, @NotNull File mergeDir, @Nullable BuildLogger logger) @NotNull MergeResult
VcsBranchIntegrationHelper.merge
(@NotNull BuildContext buildContext, @NotNull VcsRepositoryData repositoryData, @NotNull VcsRepositoryModuleDescriptor moduleDescriptor, @NotNull VcsBranch integrationBranch, @NotNull File mergeDir, @Nullable BuildLogger logger) void
MutablePlanBranchMetadata.setVcsBranch
(@Nullable VcsBranch vcsBranch) void
LightweightBranchCreationService.validateCreateChainBranch
(@NotNull ImmutableChain chain, @NotNull PlanBranchWorkflow planBranchWorkflow, @NotNull String branchName, @Nullable String branchDescription, @Nullable PlanRepositoryDefinition defaultRepositoryDefinition, @Nullable VcsRepositoryModuleDescriptor moduleDescriptor, @Nullable VcsBranch newBranch, boolean enableExpiry, @NotNull com.atlassian.struts.ValidationAware validationAware) Validates configuration for creating chain branchvoid
LightweightBranchCreationServiceImpl.validateCreateChainBranch
(@NotNull ImmutableChain chain, @NotNull PlanBranchWorkflow planBranchWorkflow, @NotNull String branchName, @Nullable String branchDescription, @Nullable PlanRepositoryDefinition defaultRepositoryDefinition, @Nullable VcsRepositoryModuleDescriptor moduleDescriptor, @Nullable VcsBranch newBranch, boolean enableExpiry, @NotNull com.atlassian.struts.ValidationAware validationAware) Modifier and TypeMethodDescriptionvoid
VcsBranchManager.createAll
(@NotNull ImmutableChain chain, @NotNull Iterable<VcsBranch> requestedBranchesToSave) Creates new VCS branches.void
VcsBranchManagerImpl.createAll
(@NotNull ImmutableChain chain, @NotNull Iterable<VcsBranch> vcsBranches) @NotNull Collection<ChainBranchCreationResult>
LightweightBranchCreationService.createChainBranches
(@NotNull ImmutableChain chain, @NotNull PlanBranchWorkflow planBranchWorkflow, @NotNull Collection<VcsBranch> branches, @NotNull PlanRepositoryDefinition defaultRepositoryDefinition, @Nullable ErrorCollection errorCollection, PlanCreationService.EnablePlan enablePlan, boolean enableExpiry, @NotNull Consumer<PlanKey> branchPlanKeyConsumer, boolean expectingDivergentBranch) Creates a new lightweight plan branch or enables existing one for each vcs branch in given collection under given chain.@NotNull Collection<ChainBranchCreationResult>
LightweightBranchCreationServiceImpl.createChainBranches
(@NotNull ImmutableChain chain, @NotNull PlanBranchWorkflow planBranchWorkflow, @NotNull Collection<VcsBranch> branches, @NotNull PlanRepositoryDefinition defaultRepositoryDefinition, @Nullable ErrorCollection errorCollection, PlanCreationService.EnablePlan enablePlan, boolean enableExpiry, @NotNull Consumer<PlanKey> consumer, boolean expectingDivergentBranch) @NotNull List<ChainBranchCreationResult>
BranchCreationFacade.createManualBranches
(@NotNull ImmutableChain chain, @NotNull Collection<VcsBranch> branches, @Nullable ErrorCollection errorCollection, PlanCreationService.EnablePlan enablePlan) Given a list of branches names, create plan branches for them under give chain.@NotNull List<ChainBranchCreationResult>
BranchCreationFacadeImpl.createManualBranches
(@NotNull ImmutableChain chain, @NotNull Collection<VcsBranch> branches, @Nullable ErrorCollection errorCollection, PlanCreationService.EnablePlan enablePlan) @NotNull ChainBranchCreationResult
LightweightBranchCreationService.createOrEnableChainBranch
(@NotNull ImmutableChain chain, @NotNull PlanBranchWorkflow planBranchWorkflow, @Nullable String branchName, @NotNull Function<VcsBranchConfigurator, VcsBranch> vcsBranchProvider, @Nullable BuildConfiguration buildConfiguration, PlanCreationService.EnablePlan enablePlan, boolean enableExpiry, @NotNull Consumer<PlanKey> branchPlanKeyConsumer, boolean expectingDivergentBranch) Given a branch name and (optionally) vcs branch name, check if branch already exists.@NotNull ChainBranchCreationResult
LightweightBranchCreationService.createOrEnableChainBranch
(@NotNull ImmutableChain chain, @NotNull PlanBranchWorkflow planBranchWorkflow, @Nullable String branchName, @NotNull Function<VcsBranchConfigurator, VcsBranch> vcsBranchProvider, @Nullable BuildConfiguration buildConfiguration, PlanCreationService.EnablePlan enablePlan, boolean enableExpiry, @NotNull Consumer<PlanKey> branchPlanKeyConsumer, boolean expectingDivergentBranch, Optional<VcsPullRequest> pullRequest) Given a branch name and (optionally) vcs branch name, check if branch already exists.@NotNull ChainBranchCreationResult
LightweightBranchCreationServiceImpl.createOrEnableChainBranch
(@NotNull ImmutableChain chain, @NotNull PlanBranchWorkflow planBranchWorkflow, @Nullable String branchName, @NotNull Function<VcsBranchConfigurator, VcsBranch> vcsBranchProvider, @Nullable BuildConfiguration buildConfiguration, PlanCreationService.EnablePlan enablePlan, boolean enableExpiry, @NotNull Consumer<PlanKey> branchPlanKeyConsumer, boolean expectingDivergentBranch) @NotNull ChainBranchCreationResult
LightweightBranchCreationServiceImpl.createOrEnableChainBranch
(@NotNull ImmutableChain chain, @NotNull PlanBranchWorkflow planBranchWorkflow, @Nullable String branchName, @NotNull Function<VcsBranchConfigurator, VcsBranch> vcsBranchProvider, @Nullable BuildConfiguration buildConfiguration, PlanCreationService.EnablePlan enablePlan, boolean enableExpiry, @NotNull Consumer<PlanKey> branchPlanKeyConsumer, boolean expectingDivergentBranch, Optional<VcsPullRequest> pullRequest) void
BranchCreationFacade.createOrEnableChainsBranches
(@NotNull List<ImmutableChain> chains, @NotNull PlanBranchWorkflow planBranchWorkflow, @NotNull Function<VcsBranchConfigurator, VcsBranch> vcsBranchProvider, @NotNull Function<ImmutableChain, BuildConfiguration> buildConfigurationProvider, @NotNull Consumer<PlanKey> planBranchConsumer) Given a list of plans and a vcs branch creates plan branches for those chains, queuing RSS execution if required.void
BranchCreationFacade.createOrEnableChainsBranches
(@NotNull List<ImmutableChain> chains, @NotNull PlanBranchWorkflow planBranchWorkflow, @NotNull Function<VcsBranchConfigurator, VcsBranch> vcsBranchProvider, @NotNull Function<ImmutableChain, BuildConfiguration> buildConfigurationProvider, @NotNull Consumer<PlanKey> planBranchConsumer, Optional<VcsPullRequest> pullRequest) Given a list of plans and a vcs branch creates plan branches for those chains, queuing RSS execution if required.void
BranchCreationFacadeImpl.createOrEnableChainsBranches
(@NotNull List<ImmutableChain> chains, @NotNull PlanBranchWorkflow planBranchWorkflow, @NotNull Function<VcsBranchConfigurator, VcsBranch> vcsBranchProvider, @NotNull Function<ImmutableChain, BuildConfiguration> buildConfigurationProvider, @NotNull Consumer<PlanKey> planBranchConsumer) void
BranchCreationFacadeImpl.createOrEnableChainsBranches
(@NotNull List<ImmutableChain> chains, @NotNull PlanBranchWorkflow planBranchWorkflow, @NotNull Function<VcsBranchConfigurator, VcsBranch> vcsBranchProvider, @NotNull Function<ImmutableChain, BuildConfiguration> buildConfigurationProvider, @NotNull Consumer<PlanKey> planBranchConsumer, Optional<VcsPullRequest> pullRequest) void
VcsBranchManager.saveAll
(@NotNull ImmutableChain chain, @NotNull Iterable<VcsBranch> requestedBranchesToSave) Deprecated.since 5.14 useVcsBranchManager.createAll(ImmutableChain, Iterable)
void
VcsBranchManagerImpl.saveAll
(@NotNull ImmutableChain chain, @NotNull Iterable<VcsBranch> vcsBranches) ModifierConstructorDescriptionBambooVcsBranchImpl
(Chain chain, VcsBranch newBranch) ChainBranchCreationResult
(@NotNull PlanKey planKey, @NotNull VcsBranch vcsBranch) ChainBranchCreationResult
(@NotNull PlanKey planKey, @NotNull VcsBranch vcsBranch, @NotNull Future<Boolean> specsDetectionFuture) PlanBranchMetadataImpl
(VcsBranch vcsBranch, Long vcsRepositoryId) VcsBranchImpl
(@NotNull VcsBranch other) -
Uses of VcsBranch in com.atlassian.bamboo.plan.vcsRevision
Modifier and TypeMethodDescription@Nullable VcsBranch
PlanVcsRevisionData.getActualBranch()
Vcs branch on which change actually is.@Nullable VcsBranch
PlanVcsRevisionData.getOverriddenBranch()
Deprecated.since 5.14 usePlanVcsRevisionData.getActualBranch()
ModifierConstructorDescriptionPlanVcsRevisionData
(@Nullable String vcsRevisionKey, @Nullable String customXmlData, @Nullable VcsBranch actualBranch) -
Uses of VcsBranch in com.atlassian.bamboo.plugins.artifact.export
Modifier and TypeMethodDescriptionArtifactDownloaderTaskExporter.toTaskConfiguration
(@NotNull TaskContainer taskContainer, @NotNull List<TaskDefinition> precedingTasks, @NotNull com.atlassian.bamboo.specs.api.model.task.TaskProperties taskProperties, @Nullable VcsBranch importedBranch) -
Uses of VcsBranch in com.atlassian.bamboo.plugins.bitbucket
Modifier and TypeMethodDescriptionvoid
BitbucketRepository.setVcsBranch
(@NotNull VcsBranch branch) -
Uses of VcsBranch in com.atlassian.bamboo.plugins.bitbucket.v2
Modifier and TypeMethodDescriptionBitbucketCloudBranchDetector.getOpenBranches
(@NotNull VcsRepositoryData repositoryData) Modifier and TypeMethodDescription@NotNull VcsWorkingCopy
BitbucketCloudWorkingCopyManager.checkoutAndMerge
(@NotNull CommonContext commonContext, @NotNull VcsRepositoryData vcsRepositoryData, @NotNull VcsBranch targetBranch, @NotNull PlanVcsRevisionData revisionOnTarget, @NotNull VcsBranch sourceBranch, @NotNull PlanVcsRevisionData sourceRevision, @NotNull File targetPath) BitbucketCloudChangeDetector.collectChangesForInitialBuild
(@NotNull PlanKey planKey, @NotNull VcsRepositoryData repositoryData, @NotNull VcsBranch otherBranch, boolean otherBranchUnreliable) -
Uses of VcsBranch in com.atlassian.bamboo.plugins.bitbucket.v2.configurator
Modifier and TypeMethodDescription@NotNull VcsBranch
BitbucketCloudBranchConfigurator.createVcsBranchFromName
(@NotNull String name) @NotNull VcsBranch
BitbucketCloudBranchConfigurator.getVcsBranchFromConfig
(@NotNull Map<String, String> configMap) -
Uses of VcsBranch in com.atlassian.bamboo.plugins.git
Modifier and TypeMethodDescription@NotNull VcsBranch
GitHubRepository.getVcsBranch()
GitHubRepositoryAccessData.getVcsBranch()
@NotNull VcsBranch
GitRepository.getVcsBranch()
GitRepositoryAccessData.getVcsBranch()
Modifier and TypeMethodDescriptionGitHubRepository.getOpenBranches
(@Nullable String context) GitOperationHelper.getOpenBranches
(@NotNull GitRepositoryAccessData repositoryData, File workingDir) GitRepository.getOpenBranches
(@Nullable String context) JGitOperationHelper.getOpenBranches
(@NotNull GitRepositoryAccessData repositoryData, File workingDir) NativeGitOperationHelper.getOpenBranches
(@NotNull GitRepositoryAccessData repositoryData, File workingDir) Modifier and TypeMethodDescriptionGitOperationHelper.extractCommitsBetweenBranches
(File cacheDirectory, VcsBranch otherBranch, boolean limitChangeList) JGitOperationHelper.extractCommitsBetweenBranches
(File cacheDirectory, VcsBranch otherBranch, boolean limitChangeList) NativeGitOperationHelper.extractCommitsBetweenBranches
(File cacheDirectory, VcsBranch otherBranch, boolean limitChangeList) void
GitHubRepository.setVcsBranch
(@NotNull VcsBranch vcsBranch) void
GitRepository.setVcsBranch
(@NotNull VcsBranch branch) -
Uses of VcsBranch in com.atlassian.bamboo.plugins.git.v2
Modifier and TypeMethodDescriptionGitBranchDetector.getOpenBranches
(@NotNull VcsRepositoryData repositoryData) Modifier and TypeMethodDescription@NotNull VcsWorkingCopy
GitWorkingCopyManager.checkoutAndMerge
(@NotNull CommonContext commonContext, @NotNull VcsRepositoryData vcsRepositoryData, @NotNull VcsBranch targetBranch, @NotNull PlanVcsRevisionData revisionOnTarget, @NotNull VcsBranch sourceBranch, @NotNull PlanVcsRevisionData sourceRevision, @NotNull File targetPath) GitChangeDetector.collectChangesForInitialBuild
(@NotNull PlanKey planKey, @NotNull VcsRepositoryData vcsRepositoryData, @NotNull VcsBranch otherBranch, boolean otherBranchUnreliable) -
Uses of VcsBranch in com.atlassian.bamboo.plugins.git.v2.configurator
Modifier and TypeMethodDescription@NotNull VcsBranch
GitBranchConfigurator.createVcsBranchFromName
(@NotNull String name) @NotNull VcsBranch
GitBranchConfigurator.getVcsBranchFromConfig
(@NotNull Map<String, String> configMap) GitMavenPomAccessor.parseMavenScmUrlToVcsBranch
(@NotNull String mavenScmUrl, @Nullable VcsRepositoryData existingData) -
Uses of VcsBranch in com.atlassian.bamboo.plugins.github
Modifier and TypeMethodDescriptionGitHubBranchDetector.getOpenBranches
(@NotNull VcsRepositoryData repositoryData) Modifier and TypeMethodDescription@NotNull VcsWorkingCopy
GitHubWorkingCopyManager.checkoutAndMerge
(@NotNull CommonContext commonContext, @NotNull VcsRepositoryData vcsRepositoryData, @NotNull VcsBranch targetBranch, @NotNull PlanVcsRevisionData revisionOnTarget, @NotNull VcsBranch sourceBranch, @NotNull PlanVcsRevisionData sourceRevision, @NotNull File targetPath) GitHubChangeDetector.collectChangesForInitialBuild
(@NotNull PlanKey planKey, @NotNull VcsRepositoryData repositoryData, @NotNull VcsBranch otherBranch, boolean otherBranchUnreliable) -
Uses of VcsBranch in com.atlassian.bamboo.plugins.github.configurator
Modifier and TypeMethodDescription@NotNull VcsBranch
GitHubBranchConfigurator.createVcsBranchFromName
(@NotNull String name) @NotNull VcsBranch
GitHubBranchConfigurator.createVcsBranchFromNameForForkWorkflow
(@NotNull String branchName, @NotNull String pullRequestKey) @NotNull VcsBranch
GitHubBranchConfigurator.getVcsBranchFromConfig
(@NotNull Map<String, String> configMap) -
Uses of VcsBranch in com.atlassian.bamboo.plugins.rest.model.plan.branch
-
Uses of VcsBranch in com.atlassian.bamboo.plugins.stash
Modifier and TypeMethodDescriptionvoid
StashRepositoryImpl.setVcsBranch
(@NotNull VcsBranch vcsBranch) -
Uses of VcsBranch in com.atlassian.bamboo.plugins.stash.v2
Modifier and TypeMethodDescriptionBitbucketServerBranchDetector.getOpenBranches
(@NotNull VcsRepositoryData repositoryData) Modifier and TypeMethodDescription@NotNull VcsWorkingCopy
BitbucketServerWorkingCopyManager.checkoutAndMerge
(@NotNull CommonContext commonContext, @NotNull VcsRepositoryData vcsRepositoryData, @NotNull VcsBranch targetBranch, @NotNull PlanVcsRevisionData revisionOnTarget, @NotNull VcsBranch sourceBranch, @NotNull PlanVcsRevisionData sourceRevision, @NotNull File targetPath) BitbucketServerChangeDetector.collectChangesForInitialBuild
(@NotNull PlanKey planKey, @NotNull VcsRepositoryData repositoryData, @NotNull VcsBranch otherBranch, boolean otherBranchUnreliable) -
Uses of VcsBranch in com.atlassian.bamboo.plugins.stash.v2.configurator
Modifier and TypeMethodDescription@NotNull VcsBranch
BitbucketServerBranchConfigurator.createVcsBranchFromName
(@NotNull String name) @NotNull VcsBranch
BitbucketServerBranchConfigurator.createVcsBranchFromNameForForkWorkflow
(@NotNull String branchName, @NotNull String pullRequestKey) @NotNull VcsBranch
BitbucketServerBranchConfigurator.getVcsBranchFromConfig
(@NotNull Map<String, String> configMap) -
Uses of VcsBranch in com.atlassian.bamboo.repository
Modifier and TypeMethodDescriptionBranchDetectionCapableRepository.getOpenBranches
(@Nullable String context) Deprecated.Set
of open branches that are discovered in the repository.RepositoryCachingFacade.getOpenBranches
(@NotNull VcsBranchDetector branchDetector, @NotNull VcsRepositoryData repositoryData) Retrieve open branches from the given repository.RepositoryCachingFacadeImpl.getOpenBranches
(@NotNull VcsBranchDetector branchDetector, @NotNull VcsRepositoryData repositoryData) Modifier and TypeMethodDescriptionvoid
BranchAwareRepository.setVcsBranch
(@NotNull VcsBranch branch) Set and prepare the repository for using an arbitrary branch. -
Uses of VcsBranch in com.atlassian.bamboo.repository.svn
Modifier and TypeMethodDescriptionvoid
SvnRepository.setVcsBranch
(@NotNull VcsBranch branch) void
SvnRepository.setVcsBranch
(@NotNull VcsBranch branch, @NotNull org.apache.commons.configuration.HierarchicalConfiguration customConfiguration) -
Uses of VcsBranch in com.atlassian.bamboo.repository.svn.v2
Modifier and TypeMethodDescriptionSvnRepositoryAccessData.getBranch()
SvnMavenPomAccessor.parseMavenScmUrlToVcsBranch
(@NotNull String mavenScmUrl, @Nullable VcsRepositoryData existingData) protected @NotNull VcsBranch
AbstractSvnExecutor.svnUrltoVcsBranch
(org.tmatesoft.svn.core.SVNURL svnurl, String repositoryUrl) Modifier and TypeMethodDescriptionSvnBranchDetector.getOpenBranches
(@NotNull VcsRepositoryData repositoryData) Modifier and TypeMethodDescription -
Uses of VcsBranch in com.atlassian.bamboo.repository.svn.v2.configurator
Modifier and TypeMethodDescription@NotNull VcsBranch
SvnBranchConfigurator.createVcsBranchFromName
(@NotNull String name) @NotNull VcsBranch
SvnBranchConfigurator.getVcsBranchFromConfig
(@NotNull Map<String, String> configMap) -
Uses of VcsBranch in com.atlassian.bamboo.task.export
Modifier and TypeMethodDescriptionTaskValidationContext.getImportedBranch()
TaskValidationContextImpl.getImportedBranch()
Modifier and TypeMethodDescriptionTaskDefinitionExporter.toTaskConfiguration
(@NotNull TaskContainer taskContainer, @NotNull List<TaskDefinition> precedingTasks, @NotNull com.atlassian.bamboo.specs.api.model.task.TaskProperties taskProperties, @Nullable VcsBranch importedBranch) Converts properties to Bamboo task configuration.TaskValidationContextImpl.Builder.withBranch
(VcsBranch importedBranch) ModifierConstructorDescriptionTaskValidationContextImpl
(com.atlassian.bamboo.specs.api.model.plan.PlanProperties topLevelPlanProperties, com.atlassian.bamboo.specs.api.model.plan.JobProperties jobProperties, @NotNull RssPermissions rssPermissions, @Nullable VcsBranch importedBranch) Deprecated.since 7.1.TaskValidationContextImpl
(com.atlassian.bamboo.specs.api.model.plan.PlanProperties topLevelPlanProperties, com.atlassian.bamboo.specs.api.model.plan.JobProperties jobProperties, com.atlassian.bamboo.specs.api.model.deployment.DeploymentProperties deploymentProperties, com.atlassian.bamboo.specs.api.model.deployment.EnvironmentProperties environmentProperties, String repositoryName, RssPermissions rssPermissions, VcsBranch importedBranch) -
Uses of VcsBranch in com.atlassian.bamboo.v2.build
Modifier and TypeMethodDescription@Nullable VcsBranch
BuildRepositoryChanges.getActualBranch()
@Nullable VcsBranch
BuildRepositoryChangesImpl.getActualBranch()
Modifier and TypeMethodDescriptionvoid
BuildRepositoryChanges.setActualBranch
(@Nullable VcsBranch actualBranch) void
BuildRepositoryChangesImpl.setActualBranch
(@Nullable VcsBranch actualBranch) ModifierConstructorDescriptionBuildRepositoryChangesImpl
(long repositoryId, @Nullable String vcsRevisionKey, @Nullable List<? extends CommitContext> changes, @Nullable VcsBranch actualBranch) -
Uses of VcsBranch in com.atlassian.bamboo.vcs.configuration
Modifier and TypeMethodDescription@NotNull VcsBranch
VcsBranchDefinition.getVcsBranch()
@NotNull VcsBranch
VcsBranchDefinitionImpl.getVcsBranch()
Modifier and TypeMethodDescriptionstatic PartialVcsRepositoryDataImpl
PartialVcsRepositoryDataImpl.createChildWithNewBranch
(VcsRepositoryData repositoryDefinition, VcsBranch newBranch, VcsBranchConfigurator vcsBranchConfigurator) Create overriding repository which overrides branch.static PartialVcsRepositoryDataImpl
PartialVcsRepositoryDataImpl.createChildWithNewBranchAndOverwrittenLocationForForkScenario
(VcsRepositoryData repositoryDefinition, VcsBranch newBranch, VcsBranchConfigurator vcsBranchConfigurator, VcsLocationConfigurator vcsLocationConfigurator, VcsForkDto vcsForkDto) ModifierConstructorDescriptionprotected
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, Long projectId, Long version) VcsBranchDefinitionImpl
(@NotNull Map<String, String> configuration, @NotNull VcsBranch vcsBranch) -
Uses of VcsBranch in com.atlassian.bamboo.vcs.configuration.legacy
Modifier and TypeMethodDescriptionLegacyBranchDetector.getOpenBranches
(@NotNull VcsRepositoryData repositoryData) Modifier and TypeMethodDescription@NotNull VcsWorkingCopy
LegacyWorkingCopyManager.checkoutAndMerge
(@NotNull CommonContext commonContext, @NotNull VcsRepositoryData vcsRepositoryData, @NotNull VcsBranch targetBranch, @NotNull PlanVcsRevisionData revisionOnTarget, @NotNull VcsBranch sourceBranch, @NotNull PlanVcsRevisionData sourceRevision, @NotNull File targetPath) -
Uses of VcsBranch in com.atlassian.bamboo.vcs.configuration.legacy.configurator
Modifier and TypeMethodDescription@NotNull VcsBranch
LegacyBranchConfigurator.createVcsBranchFromName
(@NotNull String name) @NotNull VcsBranch
LegacyBranchConfigurator.getVcsBranchFromConfig
(@NotNull Map<String, String> configMap) @NotNull VcsBranch
LegacyBranchConfigurator.getVcsBranchFromRepositoryXml
(@NotNull String legacyXml) Modifier and TypeMethodDescription@NotNull String
LegacyBranchConfigurator.getXmlStringWithNewVcsBranch
(@NotNull VcsBranch newBranch, @NotNull org.apache.commons.configuration.HierarchicalConfiguration hc) LegacyBranchConfigurator.setVcsBranchInConfig
(@NotNull Map<String, String> configMap, @NotNull VcsBranch vcsBranch) -
Uses of VcsBranch in com.atlassian.bamboo.vcs.configuration.service
Modifier and TypeMethodDescription@Nullable VcsBranch
RawRepositoryConfiguration.getVcsBranch()
@Nullable VcsBranch
RawRepositoryConfigurationImpl.getVcsBranch()
Modifier and TypeMethodDescription@NotNull PartialVcsRepositoryData
VcsConfigurationHelper.reconfigureRepositoryWithMavenData
(@NotNull VcsRepositoryModuleDescriptor oldModuleDescriptor, @NotNull PartialVcsRepositoryData oldData, @Nullable VcsRepositoryModuleDescriptor newModuleDescriptor, @NotNull Map<String, String> newServerConfiguration, @Nullable VcsBranch vcsBranch, @Nullable String webRepositoryUrl) Creates new repository configuration according to data found in a maven pom.xml. -
Uses of VcsBranch in com.atlassian.bamboo.vcs.configurator
Modifier and TypeMethodDescription@NotNull VcsBranch
VcsBranchConfigurator.createVcsBranchFromName
(@NotNull String name) Create new vcs branch instance with given namedefault @NotNull VcsBranch
VcsBranchConfigurator.createVcsBranchFromNameForForkWorkflow
(@NotNull String branchName, @NotNull String pullRequestKey) Create new vcs branch instance with given branch name and pull requests key.@NotNull VcsBranch
VcsBranchConfigurator.getVcsBranchFromConfig
(@NotNull Map<String, String> configMap) Return branch name according to provided config.default @Nullable VcsBranch
VcsMavenPomAccessor.parseMavenScmUrlToVcsBranch
(@NotNull String mavenScmUrl, @Nullable VcsRepositoryData existingData) Parse and setup internal structures from Maven's SCM URL provider specific part. -
Uses of VcsBranch in com.atlassian.bamboo.vcs.runtime
Modifier and TypeMethodDescription@Nullable VcsBranch
VcsWorkingCopy.getCurrentBranch()
Return branch the working copy is switched to.Modifier and TypeMethodDescriptionVcsBranchDetector.getOpenBranches
(@NotNull VcsRepositoryData repositoryData) Set
of open branches that are discovered in the repository.Modifier and TypeMethodDescription@NotNull VcsWorkingCopy
MergingVcsWorkingCopyManager.checkoutAndMerge
(@NotNull CommonContext commonContext, @NotNull VcsRepositoryData vcsRepositoryData, @NotNull VcsBranch targetBranch, @NotNull PlanVcsRevisionData revisionOnTarget, @NotNull VcsBranch sourceBranch, @NotNull PlanVcsRevisionData sourceRevision, @NotNull File targetPath) Checks out the targetBranch and merges sourceBranch to it.default BuildRepositoryChanges
VcsChangeDetector.collectChangesForInitialBuild
(@NotNull PlanKey planKey, @NotNull VcsRepositoryData repositoryData, @Nullable VcsBranch otherBranch, boolean otherBranchUnreliable) This method is used to generate the list of commits for an initial build of a plan branch.ModifierConstructorDescriptionVcsWorkingCopy
(long repositoryId, File path, String currentRevisionKey, boolean hasNotCommittedChanges, VcsBranch currentBranch, boolean currentBranchChanged) VcsWorkingCopy
(long repositoryId, File path, String currentRevisionKey, VcsBranch currentBranch, boolean currentBranchChanged)