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
|
Modifier and Type | Method and Description |
---|---|
@NotNull com.atlassian.bamboo.specs.api.builders.plan.branches.BranchIntegration |
ChainBranchExporterImpl.exportBranchIntegrationConfiguration(@NotNull BranchIntegrationConfiguration branchIntegrationConfiguration,
@NotNull PlanKey chainKey,
@NotNull PlanBranchWorkflow planBranchWorkflow) |
@NotNull com.atlassian.bamboo.specs.api.builders.plan.branches.BranchIntegration |
ChainBranchExporter.exportBranchIntegrationConfiguration(@NotNull BranchIntegrationConfiguration branchIntegrationConfiguration,
@NotNull PlanKey chainKey,
@NotNull PlanBranchWorkflow planBranchWorkflow)
Exports branch merging configuration to properties
|
Modifier and Type | Method and Description |
---|---|
@NotNull PlanBranchWorkflow |
DivergentBranchDataBean.CreationData.getPlanBranchWorkflow() |
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) |
static DivergentBranchDataBean |
DivergentBranchDataBean.forCreation(@NotNull ImmutableChain immutableChain,
@NotNull PlanKey planBranchKey,
@NotNull PlanBranchWorkflow planBranchWorkflow,
PlanCreationService.EnablePlan enablePlan) |
Constructor and Description |
---|
CreationData(@NotNull PlanBranchWorkflow planBranchWorkflow,
PlanCreationService.EnablePlan enablePlan) |
Modifier and Type | Method and Description |
---|---|
static PlanBranchWorkflow |
PlanBranchWorkflow.defaultValue()
Returns the default workflow.
|
static @NotNull PlanBranchWorkflow |
PlanBranchWorkflow.fromKey(@NotNull String key)
Returns an instance of
PlanBranchWorkflow based on the passed key . |
@NotNull PlanBranchWorkflow |
BranchMonitoringConfigurationImpl.getPlanBranchWorkflow() |
@NotNull PlanBranchWorkflow |
BranchMonitoringConfiguration.getPlanBranchWorkflow()
Return the type of plan branching workflow.
|
PlanBranchWorkflow |
BranchSpecificConfiguration.getPlanBranchWorkflow() |
static PlanBranchWorkflow |
PlanBranchWorkflow.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlanBranchWorkflow[] |
PlanBranchWorkflow.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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.
|
@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 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 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 |
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 |
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) |
@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.
|
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 |
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 |
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 |
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 |
BranchMonitoringConfigurationImpl.setPlanBranchWorkflow(@NotNull PlanBranchWorkflow planBranchWorkflow) |
void |
BranchMonitoringConfiguration.setPlanBranchWorkflow(@NotNull PlanBranchWorkflow planBranchWorkflow)
Sets the type of plan branching workflow.
|
void |
BranchSpecificConfiguration.setPlanBranchWorkflow(PlanBranchWorkflow creationWorkflow) |
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
|
Modifier and Type | Method and Description |
---|---|
PlanBranchWorkflow |
PlanBranchGist.getPlanBranchWorkflow() |
Constructor and Description |
---|
PlanBranchGist(long id,
PlanKey key,
String buildName,
boolean suspendedFromBuilding,
PlanBranchWorkflow planBranchWorkflow,
boolean divergent) |
Modifier and Type | Method and Description |
---|---|
PlanBranchWorkflow |
BranchCreationType.getCompatiblePlanBranchWorkflow() |
Modifier and Type | Method and Description |
---|---|
protected void |
ConfigureBranches.schedulePlanBranchInitialization(Plan plan,
BuildDefinition buildDefinition,
PlanBranchWorkflow previousPlanBranchWorkflow)
Schedules the plan branch initialization work that the Bamboo server needs to perform.
|
Modifier and Type | Method and Description |
---|---|
abstract @Nullable PlanBranchWorkflow |
DecoratedPlan.getPlanBranchWorkflow() |
@Nullable PlanBranchWorkflow |
DecoratedPlan.DecoratedBranch.getPlanBranchWorkflow()
For plan branches, this value indicates which workflow led to creation of this particular plan branch.
|
PlanBranchWorkflow |
DecoratedPlan.DecoratedPlanBranchGist.getPlanBranchWorkflow() |
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.
View cookie preferences