| Package | Description |
|---|---|
| com.atlassian.bamboo.specs.api.builders.plan |
Plan, plan branches, stages and jobs.
|
| Modifier and Type | Method and Description |
|---|---|
Plan |
Plan.branchConfiguration(PlanBranchConfiguration planBranchConfiguration)
On a Specs plan branch, defines branch specific configuration.
|
Plan |
Plan.dependencies(Dependencies dependencies)
Specifies configuration of dependencies support for this plan.
|
Plan |
Plan.description(String description)
Sets the plan's description.
|
Plan |
Plan.enabled(boolean enabled)
Enables/disables the plan.
|
Plan |
Plan.forceStopHungBuilds()
Use this method to configure Bamboo to stop hung build and kill all processes executed by current plan.
|
Plan |
Plan.ignoreHungBuilds()
Use this method to ignore hung build and allow user to stop it manually.
|
Plan |
Plan.inProject(Project project)
Sets the project plan belongs to.
|
Plan |
Plan.key(BambooKey key)
Sets the plan's key.
|
Plan |
Plan.key(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(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(BambooOid oid)
Sets the plans's oid.
|
Plan |
Plan.oid(String oid)
Sets the plans's oid.
|
Plan |
Plan.planBranchManagement(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.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(Plan copy) |
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.