Modifier and Type | Method and Description |
---|---|
SpecsConsumer |
SpecsConsumerFactory.createDivergentBranchSpecsCreationConsumer(@NotNull VcsBranch newBranch,
@NotNull PlanBranchWorkflow planBranchWorkflow,
@NotNull com.google.common.collect.Multimap<ImmutableChain,PlanKey> chainsAndBranchKeys,
PlanCreationService.EnablePlan enablePlan)
Create Specs consumer used for creating divergent branches
|
SpecsConsumer |
SpecsConsumerFactory.createDivergentBranchSpecsUpdateConsumer(@NotNull VcsBranch branch,
@NotNull com.google.common.collect.Multimap<ImmutableChain,PlanKey> chainsAndBranchKeys)
Create Specs consumer used for updating divergent branches
|
@NotNull Future<Boolean> |
RssDetectionServiceImpl.enqueue(long repositoryId,
@NotNull VcsBranch vcsBranch) |
@NotNull Future<Boolean> |
RssDetectionService.enqueue(long repositoryId,
@NotNull VcsBranch vcsBranch)
Enqueue RSS detection for repository with the given ID and branch.
|
@NotNull Future<Boolean> |
RssDetectionServiceImpl.enqueue(long repositoryId,
@NotNull VcsBranch vcsBranch,
boolean force) |
@NotNull Future<Boolean> |
RssDetectionService.enqueue(long repositoryId,
@NotNull VcsBranch vcsBranch,
boolean force)
Enqueue RSS detection for repository with the given ID and branch.
|
@NotNull Future<Boolean> |
RssDetectionServiceImpl.enqueue(long repositoryId,
@NotNull VcsBranch vcsBranch,
boolean force,
@NotNull SpecsConsumer specsConsumer) |
@NotNull Future<Boolean> |
RssDetectionService.enqueue(long repositoryId,
@NotNull VcsBranch vcsBranch,
boolean force,
@NotNull SpecsConsumer specsConsumer)
Enqueue RSS detection for repository with the given ID and given branch.
|
@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 |
RssDetectionServiceImpl.isInProgress(long repositoryId,
@NotNull VcsBranch vcsBranch) |
boolean |
RssDetectionService.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 results
|
void |
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) |
Modifier and Type | Method and Description |
---|---|
VcsBranch |
RssDetectionQueue.RssDetectionWorkKey.getVcsBranch() |
@NotNull VcsBranch |
RssDetectionWork.getVcsBranch() |
Modifier and Type | Method and Description |
---|---|
RssDetectionWork |
RssDetectionQueue.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) |
Constructor and Description |
---|
RssDetectionWork(long repositoryId,
@NotNull VcsBranch vcsBranch,
boolean forced,
@NotNull SpecsConsumer specsConsumer) |
Modifier and Type | Method and Description |
---|---|
@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) |
Modifier and Type | Method and Description |
---|---|
SpecsConsumer |
SpecsConsumerFactoryImpl.createDivergentBranchSpecsCreationConsumer(@NotNull VcsBranch vcsBranch,
@NotNull PlanBranchWorkflow planBranchWorkflow,
@NotNull com.google.common.collect.Multimap<ImmutableChain,PlanKey> chainsAndBranchKeys,
PlanCreationService.EnablePlan enablePlan) |
SpecsConsumer |
SpecsConsumerFactoryImpl.createDivergentBranchSpecsUpdateConsumer(@NotNull VcsBranch vcsBranch,
@NotNull com.google.common.collect.Multimap<ImmutableChain,PlanKey> chainsAndBranchKeys) |
Modifier and Type | Method and Description |
---|---|
@NotNull PartialVcsRepositoryData |
VcsConfigurationHelperImpl.reconfigureRepositoryWithMavenData(@NotNull VcsRepositoryModuleDescriptor oldModuleDescriptor,
@NotNull PartialVcsRepositoryData oldData,
@Nullable VcsRepositoryModuleDescriptor newModuleDescriptor,
@NotNull Map<String,String> newServerConfiguration,
@Nullable VcsBranch vcsBranch,
@Nullable String webRepositoryUrl) |
Modifier and Type | Class and Description |
---|---|
class |
VcsBranchImpl |
Modifier and Type | Method and Description |
---|---|
@Nullable VcsBranch |
BranchIntegrationHelperImpl.getIntegrationVcsBranch(@NotNull BuildContext buildContext) |
@Nullable VcsBranch |
VcsBranchIntegrationHelper.getIntegrationVcsBranch(@NotNull BuildContext buildContext) |
@Nullable VcsBranch |
PlanBranchMetadataImpl.getVcsBranch() |
@Nullable VcsBranch |
MutablePlanBranchMetadata.getVcsBranch() |
@Nullable VcsBranch |
PlanBranchMetadata.getVcsBranch()
Vcs branch built by this plan branch.
|
@NotNull VcsBranch |
ChainBranchCreationResult.getVcsBranch() |
Modifier and Type | Method and Description |
---|---|
@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 |
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 |
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.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 |
BranchCreationFacadeImpl.createChainBranch(@NotNull ImmutableChain chain,
@NotNull PlanBranchWorkflow planBranchWorkflow,
@NotNull String branchName,
@Nullable String branchDescription,
@Nullable VcsBranch vcsBranch,
PlanCreationService.EnablePlan enablePlan,
boolean enableExpiry) |
@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 |
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) |
@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.
|
PlanKey |
BranchDetectionServiceImpl.createChainBranch(@NotNull ImmutableChain chain,
@NotNull String branchName,
@Nullable VcsBranch vcsBranch,
@Nullable BuildConfiguration buildConfiguration,
PlanCreationService.EnablePlan enablePlan,
boolean enableExpiry) |
PlanKey |
BranchDetectionService.createChainBranch(@NotNull ImmutableChain chain,
@NotNull String branchName,
@Nullable VcsBranch vcsBranch,
@Nullable BuildConfiguration buildConfiguration,
PlanCreationService.EnablePlan enablePlan,
boolean enableExpiry)
Deprecated.
temporary workaround
|
@NotNull ChainBranchCreationResult |
LightweightBranchCreationServiceImpl.enableExistingChainBranch(@NotNull ImmutableChain chain,
@NotNull ImmutableChainBranch existingChainBranch,
@NotNull VcsBranch vcsBranch,
PlanCreationService.EnablePlan enablePlan,
boolean expectingDivergentBranch) |
@NotNull ChainBranchCreationResult |
LightweightBranchCreationService.enableExistingChainBranch(@NotNull ImmutableChain chain,
@NotNull ImmutableChainBranch existingChainBranch,
@NotNull VcsBranch vcsBranch,
PlanCreationService.EnablePlan enablePlan,
boolean expectingDivergentBranch)
Enables existing chain branch.
|
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 |
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) |
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 branch
|
Constructor and Description |
---|
BambooVcsBranchImpl(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) |
Modifier and Type | Method and Description |
---|---|
@Nullable VcsBranch |
PlanVcsRevisionData.getActualBranch()
Vcs branch on which change actually is.
|
@Nullable VcsBranch |
PlanVcsRevisionData.getOverriddenBranch()
Deprecated.
since 5.14 use
PlanVcsRevisionData.getActualBranch() |
Constructor and Description |
---|
PlanVcsRevisionData(@Nullable String vcsRevisionKey,
@Nullable String customXmlData,
@Nullable VcsBranch actualBranch) |
Modifier and Type | Method and Description |
---|---|
@NotNull Map<String,String> |
ArtifactDownloaderTaskExporter.toTaskConfiguration(@NotNull TaskContainer taskContainer,
@NotNull List<TaskDefinition> precedingTasks,
@NotNull com.atlassian.bamboo.specs.api.model.task.TaskProperties taskProperties,
@Nullable VcsBranch importedBranch) |
Modifier and Type | Method and Description |
---|---|
@NotNull VcsBranch |
BitbucketRepository.getVcsBranch() |
Modifier and Type | Method and Description |
---|---|
void |
BitbucketRepository.setVcsBranch(@NotNull VcsBranch branch) |
Modifier and Type | Method and Description |
---|---|
@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) |
@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) |
BuildRepositoryChanges |
BitbucketCloudChangeDetector.collectChangesForInitialBuild(@NotNull PlanKey planKey,
@NotNull VcsRepositoryData repositoryData,
@NotNull VcsBranch otherBranch,
boolean otherBranchUnreliable) |
Modifier and Type | Method and Description |
---|---|
@NotNull VcsBranch |
BitbucketCloudBranchConfigurator.createVcsBranchFromName(@NotNull String name) |
@NotNull VcsBranch |
BitbucketCloudBranchConfigurator.getVcsBranchFromConfig(@NotNull Map<String,String> configMap) |
Modifier and Type | Method and Description |
---|---|
@NotNull Map<String,String> |
BitbucketCloudBranchConfigurator.setVcsBranchInConfig(@NotNull Map<String,String> configMap,
@NotNull VcsBranch vcsBranch) |
Modifier and Type | Method and Description |
---|---|
VcsBranch |
GitHubRepositoryAccessData.getVcsBranch() |
VcsBranch |
GitRepositoryAccessData.getVcsBranch() |
@NotNull VcsBranch |
GitHubRepository.getVcsBranch() |
@NotNull VcsBranch |
GitRepository.getVcsBranch() |
Modifier and Type | Method and Description |
---|---|
GitHubRepositoryAccessData.Builder |
GitHubRepositoryAccessData.Builder.branch(VcsBranch vcsBranch) |
GitRepositoryAccessData.Builder |
GitRepositoryAccessData.Builder.branch(VcsBranch branch) |
BuildRepositoryChanges |
NativeGitOperationHelper.extractCommitsBetweenBranches(File cacheDirectory,
VcsBranch otherBranch,
boolean limitChangeList) |
BuildRepositoryChanges |
GitOperationHelper.extractCommitsBetweenBranches(File cacheDirectory,
VcsBranch otherBranch,
boolean limitChangeList) |
BuildRepositoryChanges |
JGitOperationHelper.extractCommitsBetweenBranches(File cacheDirectory,
VcsBranch otherBranch,
boolean limitChangeList) |
void |
GitHubRepository.setVcsBranch(@NotNull VcsBranch vcsBranch) |
void |
GitRepository.setVcsBranch(@NotNull VcsBranch branch) |
Modifier and Type | Method and Description |
---|---|
@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) |
@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) |
BuildRepositoryChanges |
GitChangeDetector.collectChangesForInitialBuild(@NotNull PlanKey planKey,
@NotNull VcsRepositoryData vcsRepositoryData,
@NotNull VcsBranch otherBranch,
boolean otherBranchUnreliable) |
Modifier and Type | Method and Description |
---|---|
@NotNull VcsBranch |
GitBranchConfigurator.createVcsBranchFromName(@NotNull String name) |
@NotNull VcsBranch |
GitBranchConfigurator.getVcsBranchFromConfig(@NotNull Map<String,String> configMap) |
VcsBranch |
GitMavenPomAccessor.parseMavenScmUrlToVcsBranch(@NotNull String mavenScmUrl,
@Nullable VcsRepositoryData existingData) |
Modifier and Type | Method and Description |
---|---|
@NotNull Map<String,String> |
GitBranchConfigurator.setVcsBranchInConfig(@NotNull Map<String,String> configMap,
@NotNull VcsBranch vcsBranch) |
Modifier and Type | Method and Description |
---|---|
@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) |
@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) |
BuildRepositoryChanges |
GitHubChangeDetector.collectChangesForInitialBuild(@NotNull PlanKey planKey,
@NotNull VcsRepositoryData repositoryData,
@NotNull VcsBranch otherBranch,
boolean otherBranchUnreliable) |
Modifier and Type | Method and Description |
---|---|
@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) |
Modifier and Type | Method and Description |
---|---|
@NotNull Map<String,String> |
GitHubBranchConfigurator.setVcsBranchInConfig(@NotNull Map<String,String> configMap,
@NotNull VcsBranch vcsBranch) |
Modifier and Type | Method and Description |
---|---|
static RestVcsBranch |
RestVcsBranch.from(VcsBranch branch) |
Modifier and Type | Method and Description |
---|---|
@NotNull VcsBranch |
StashRepositoryImpl.getVcsBranch() |
Modifier and Type | Method and Description |
---|---|
void |
StashRepositoryImpl.setVcsBranch(@NotNull VcsBranch vcsBranch) |
Modifier and Type | Method and Description |
---|---|
@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) |
@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) |
BuildRepositoryChanges |
BitbucketServerChangeDetector.collectChangesForInitialBuild(@NotNull PlanKey planKey,
@NotNull VcsRepositoryData repositoryData,
@NotNull VcsBranch otherBranch,
boolean otherBranchUnreliable) |
Modifier and Type | Method and Description |
---|---|
@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) |
Modifier and Type | Method and Description |
---|---|
@NotNull Map<String,String> |
BitbucketServerBranchConfigurator.setVcsBranchInConfig(@NotNull Map<String,String> configMap,
@NotNull VcsBranch vcsBranch) |
Modifier and Type | Method and Description |
---|---|
@NotNull VcsBranch |
BranchAwareRepository.getVcsBranch() |
Modifier and Type | Method and Description |
---|---|
void |
BranchAwareRepository.setVcsBranch(@NotNull VcsBranch branch)
Set and prepare the repository for using an arbitrary branch.
|
Modifier and Type | Method and Description |
---|---|
@NotNull VcsBranch |
SvnRepository.getVcsBranch() |
Modifier and Type | Method and Description |
---|---|
void |
SvnRepository.setVcsBranch(@NotNull VcsBranch branch) |
void |
SvnRepository.setVcsBranch(@NotNull VcsBranch branch,
@NotNull org.apache.commons.configuration.HierarchicalConfiguration customConfiguration) |
Modifier and Type | Method and Description |
---|---|
VcsBranch |
SvnRepositoryAccessData.getBranch() |
VcsBranch |
SvnMavenPomAccessor.parseMavenScmUrlToVcsBranch(@NotNull String mavenScmUrl,
@Nullable VcsRepositoryData existingData) |
protected @NotNull VcsBranch |
AbstractSvnExecutor.svnUrltoVcsBranch(org.tmatesoft.svn.core.SVNURL svnurl,
String repositoryUrl) |
Modifier and Type | Method and Description |
---|---|
SvnRepositoryAccessData.Builder |
SvnRepositoryAccessData.Builder.branch(VcsBranch branch) |
Modifier and Type | Method and Description |
---|---|
@NotNull VcsBranch |
SvnBranchConfigurator.createVcsBranchFromName(@NotNull String name) |
@NotNull VcsBranch |
SvnBranchConfigurator.getVcsBranchFromConfig(@NotNull Map<String,String> configMap) |
Modifier and Type | Method and Description |
---|---|
@NotNull Map<String,String> |
SvnBranchConfigurator.setVcsBranchInConfig(@NotNull Map<String,String> configMap,
@NotNull VcsBranch vcsBranch) |
Modifier and Type | Method and Description |
---|---|
Optional<VcsBranch> |
TaskValidationContextImpl.getImportedBranch() |
Optional<VcsBranch> |
TaskValidationContext.getImportedBranch() |
Modifier and Type | Method and Description |
---|---|
default @NotNull Map<String,String> |
TaskDefinitionExporter.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 |
TaskValidationContextImpl.Builder.withBranch(VcsBranch importedBranch) |
Constructor and Description |
---|
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) |
TaskValidationContextImpl(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. Use Builder
|
Modifier and Type | Method and Description |
---|---|
@Nullable VcsBranch |
BuildRepositoryChangesImpl.getActualBranch() |
@Nullable VcsBranch |
BuildRepositoryChanges.getActualBranch() |
Modifier and Type | Method and Description |
---|---|
void |
BuildRepositoryChangesImpl.setActualBranch(@Nullable VcsBranch actualBranch) |
void |
BuildRepositoryChanges.setActualBranch(@Nullable VcsBranch actualBranch) |
Constructor and Description |
---|
BuildRepositoryChangesImpl(long repositoryId,
@Nullable String vcsRevisionKey,
@Nullable List<? extends CommitContext> changes,
@Nullable VcsBranch actualBranch) |
Modifier and Type | Method and Description |
---|---|
@NotNull VcsBranch |
VcsBranchDefinitionImpl.getVcsBranch() |
@NotNull 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.
|
static PartialVcsRepositoryDataImpl |
PartialVcsRepositoryDataImpl.createChildWithNewBranchAndOverwrittenLocationForForkScenario(VcsRepositoryData repositoryDefinition,
VcsBranch newBranch,
VcsBranchConfigurator vcsBranchConfigurator,
VcsLocationConfigurator vcsLocationConfigurator,
VcsForkDto vcsForkDto) |
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,
Long projectId) |
VcsBranchDefinitionImpl(@NotNull Map<String,String> configuration,
@NotNull VcsBranch vcsBranch) |
Modifier and Type | Method and Description |
---|---|
@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) |
@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) |
Modifier and Type | Method and Description |
---|---|
@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 Type | Method and Description |
---|---|
@NotNull String |
LegacyBranchConfigurator.getXmlStringWithNewVcsBranch(@NotNull VcsBranch newBranch,
@NotNull org.apache.commons.configuration.HierarchicalConfiguration hc) |
@NotNull Map<String,String> |
LegacyBranchConfigurator.setVcsBranchInConfig(@NotNull Map<String,String> configMap,
@NotNull VcsBranch vcsBranch) |
Modifier and Type | Method and Description |
---|---|
@Nullable VcsBranch |
RawRepositoryConfiguration.getVcsBranch() |
@Nullable VcsBranch |
RawRepositoryConfigurationImpl.getVcsBranch() |
Modifier and Type | Method and Description |
---|---|
@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.
|
RawRepositoryConfigurationImpl.Builder |
RawRepositoryConfigurationImpl.Builder.vcsBranch(VcsBranch vcsBranch) |
Modifier and Type | Method and Description |
---|---|
@NotNull VcsBranch |
VcsBranchConfigurator.createVcsBranchFromName(@NotNull String name)
Create new vcs branch instance with given name
|
default @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.
|
Modifier and Type | Method and Description |
---|---|
@NotNull Map<String,String> |
VcsBranchConfigurator.setVcsBranchInConfig(@NotNull Map<String,String> configMap,
@NotNull VcsBranch vcsBranch)
Modify config map by setting branch to provided one.
|
Modifier and Type | Method and Description |
---|---|
@Nullable VcsBranch |
VcsWorkingCopy.getCurrentBranch()
Return branch the working copy is switched to.
|
Modifier and Type | Method and Description |
---|---|
@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.
|
@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.
|
Constructor and Description |
---|
VcsWorkingCopy(long repositoryId,
File path,
String currentRevisionKey,
boolean hasNotCommittedChanges,
VcsBranch currentBranch,
boolean currentBranchChanged) |
VcsWorkingCopy(long repositoryId,
File path,
String currentRevisionKey,
VcsBranch currentBranch,
boolean currentBranchChanged) |
Copyright © 2023 Atlassian Software Systems Pty Ltd. All rights reserved.