| Package | Description |
|---|---|
| com.atlassian.bamboo.specs.api.builders.plan |
Plan, plan branches, stages and jobs.
|
| Modifier and Type | Method and Description |
|---|---|
Plan |
Plan.branchConfiguration(@NotNull PlanBranchConfiguration planBranchConfiguration)
On a Specs plan branch, defines branch specific configuration.
|
Plan |
Plan.clearNotifications()
Clears all notifications previously added to this plan.
|
Plan |
Plan.clearTriggers()
Clears all previously added triggers to this plan.
|
Plan |
Plan.dependencies(@NotNull Dependencies dependencies)
Specifies configuration of dependencies support for this plan.
|
Plan |
Plan.description(@Nullable String description)
Sets the plan's description.
|
Plan |
Plan.enabled(boolean enabled)
Enables/disables the plan.
|
Plan |
Plan.forceStopHungBuilds()
Deprecated.
since 9.3. Use #pluginConfigurations(new ForceStopBuild().enabled(true))
|
Plan |
Plan.ignoreHungBuilds()
Deprecated.
since 9.3. Use #pluginConfigurations(new ForceStopBuild().enabled(false))
|
Plan |
Plan.inProject(@NotNull Project project)
Sets the project plan belongs to.
|
Plan |
Plan.key(@Nullable BambooKey key)
Sets the plan's key.
|
Plan |
Plan.key(@Nullable String key)
Sets the plan's key.
|
Plan |
Plan.labels(Label... labels)
Adds labels to this plan.
|
Plan |
Plan.labels(String... labels)
Adds labels to this plan.
|
Plan |
Plan.linkedRepositories(String... repositoriesNames)
Adds linked repositories with given names to this plan.
|
Plan |
Plan.linkedRepositories(VcsRepositoryIdentifier... repositories)
Deprecated.
since 6.2, use
linkedRepositories(String...) |
Plan |
Plan.name(@NotNull String name)
Sets the plan name.
|
Plan |
Plan.noDependencies()
Deprecated.
|
Plan |
Plan.noLabels()
Deprecated.
|
Plan |
Plan.noNotifications()
Deprecated.
|
Plan |
Plan.noPluginConfigurations()
Deprecated.
|
Plan |
Plan.notifications(Notification... notifications)
Appends a notification rule to the plan.
|
Plan |
Plan.oid(@Nullable BambooOid oid)
Sets the plans's oid.
|
Plan |
Plan.oid(@Nullable String oid)
Sets the plans's oid.
|
Plan |
Plan.planBranchManagement(@NotNull PlanBranchManagement planBranchManagement)
Specifies plan branch management options for this plan.
|
Plan |
Plan.planRepositories(VcsRepository<?,?>... repositories)
Adds local repositories to this plan.
|
Plan |
Plan.pluginConfigurations(PluginConfiguration<?>... pluginConfigurations)
Appends plugin configuration to the plan.
|
Plan |
Plan.projectRepositories(String... repositoriesNames)
Adds project repositories with given names to this plan.
|
Plan |
Plan.repositoryBranches(VcsRepositoryBranch... repositoryBranches)
Defines which branches should be built by this plan or plan branch.
|
Plan |
Plan.stages(Stage... stages)
Adds the stages to the end of stages list.
|
Plan |
Plan.triggers(Trigger<?,?>... triggers)
Adds triggers to this plan.
|
Plan |
Plan.variables(Variable... variables)
Adds plan variables.
|
| Constructor and Description |
|---|
Plan(@NotNull Plan copy) |
Copyright © 2023 Atlassian Software Systems Pty Ltd. All rights reserved.