| Modifier and Type | Interface and Description |
|---|---|
interface |
Buildable |
interface |
Job |
| Modifier and Type | Method and Description |
|---|---|
Plan |
PlanDependency.getChildPlan() |
Plan |
PlanDependency.getParentPlan() |
Plan |
BuildDefinitionForBuild.getPlan() |
| Modifier and Type | Method and Description |
|---|---|
void |
PlanDependencyManager.adjustChildDependencyList(String dependencyType,
Plan plan,
Set<PlanKey> newChildPlanKeys,
boolean overwriteExisting)
Update the existing children dependencies of the given plan and dependency Type to match the provided list of new children.
|
void |
PlanDependencyManager.adjustParentDependencyList(String dependencyType,
Plan plan,
Set<PlanKey> newParentPlanKeys,
boolean overwriteExisting)
Update the existing parent dependencies of the given plan and dependency Type to match the provided list of new parents.
|
BuildDefinition |
BuildDefinitionManager.getBuildDefinition(Plan plan) |
void |
BuildDefinitionManager.savePlanAndDefinition(Plan plan)
Deprecated.
|
void |
BuildDefinitionManager.savePlanAndDefinition(Plan plan,
BuildConfiguration buildConfiguration)
Saves the
Plan and the BuildConfiguration |
void |
BuildDefinitionManager.savePlanAndDefinition(Plan plan,
BuildDefinition buildDefinition)
Convert and save the build definition.
|
void |
BuildDefinitionManager.savePlanAndDefinition(Plan plan,
BuildDefinition buildDefinition,
boolean withQuartzJobsRestart)
Convert and save the build definition.
|
void |
BuildDefinitionForBuild.setPlan(Plan build) |
| Modifier and Type | Method and Description |
|---|---|
void |
ArtifactLinkManager.removeArtifactLinks(ChainResultsSummary chainResultsSummary,
Plan plan)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Plan |
PlanCreationService.getNewInstance() |
Plan |
PlanCreationBean.getPlanBeingCreated() |
| Modifier and Type | Method and Description |
|---|---|
void |
ChainBranchCreationService.cleanBuildConfiguration(BuildConfiguration buildConfiguration,
Plan plan) |
void |
ChainCreationService.cleanBuildConfiguration(BuildConfiguration buildConfiguration,
Plan plan) |
void |
PlanCreationBean.setPlanBeingCreated(Plan planBeingCreated) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Chain
Mutable version of
ImmutableChain. |
| Modifier and Type | Method and Description |
|---|---|
void |
DeletionService.deletePlan(Plan plan) |
void |
PlanDeletionInterceptorAction.intercept(Plan plan)
Runs before the
Plan and its ResultsSummarys have been deleted |
| Modifier and Type | Method and Description |
|---|---|
void |
BuildResultsIndexer.deIndexBuild(Plan build) |
void |
BuildResultsIndexer.deIndexBuild(Plan build,
Set<String> affectedJiraIssuesKeys) |
long |
BuildResultsIndexer.indexBuild(Plan plan)
Indexes the build.
|
| Modifier and Type | Method and Description |
|---|---|
Plan |
Labelling.getPlan() |
| Modifier and Type | Method and Description |
|---|---|
int |
LabelManager.addFavourite(Plan plan,
com.atlassian.user.User user)
Adds a build to a user as favourite.
|
List<LabelCount> |
LabelDao.findLabels(String namespace,
int maxResults,
Plan plan) |
List<LabelCount> |
LabelManager.findLabels(String namespace,
int maxResults,
Plan plan,
Project project)
Finds all labels in a given build, with namespace and maxResults.
|
List<String> |
LabelManager.getFavouritesForPlan(Plan plan)
Deprecated.
since 5.4 use
LabelManager.getFavouritesForPlan(com.atlassian.bamboo.plan.cache.ImmutablePlan) instead |
boolean |
LabelManager.hasPlanLabel(Plan plan,
String label)
Checks whether the Plan has a particular label
|
boolean |
LabelManager.isManuallyUnmarkedFavourite(Plan plan,
com.atlassian.user.User user)
Flag which determines if the user has manually unmarked this build as favourite.
|
int |
LabelManager.removeFavourite(Plan plan,
com.atlassian.user.User user)
Removes a build from a user's favourite.
|
void |
Labelling.setPlan(Plan plan) |
| Modifier and Type | Method and Description |
|---|---|
Plan |
UsersNotification.getPlan()
The plan the notification rule applies to
|
| Modifier and Type | Method and Description |
|---|---|
Set<NotificationRule> |
NotificationManager.getNotificationRules(Plan plan)
Deprecated.
since 5.4 use
NotificationManager.getNotificationRules(com.atlassian.bamboo.plan.cache.ImmutablePlan) instead |
| Modifier and Type | Interface and Description |
|---|---|
interface |
TopLevelPlan
Marker interface that specifies that the implementing
Plan is a 'top level' object |
| Modifier and Type | Class and Description |
|---|---|
class |
PlanPermissionSkeleton
Deprecated.
since 4.2 use @{link PlanHelper.getPlanIdentifierForPermissionChecking}
|
| Modifier and Type | Method and Description |
|---|---|
<T extends Plan> |
PlanDao.findAllPlans(Class<T> planType)
Return a
Plan collection for specified plan type. |
<T extends Plan> |
PlanDao.findAllPlans(Class<T> planType,
int firstResult,
int maxResults)
Return a
Plan collection for specified plan type. |
<T extends Plan> |
PlanDao.findAllPlansByProject(Project project,
Class<T> planType)
|
<T extends Plan> |
PlanDao.findPlansByProject(Project project,
Class<T> planType)
|
<T extends Plan> |
PlanManager.getAllPlanKeys(Class<T> planType)
Returns keys of all
Plan's filtered by Class. |
<T extends Plan> |
PlanManager.getAllPlans(Class<T> planType)
Returns all
Plan's filtered by Class. |
<T extends Plan> |
PlanManager.getAllPlans(Class<T> planType,
int firstResult,
int maxResults)
Returns all
Plan's filtered by Class. |
<T extends Plan> |
PlanManager.getAllPlansByProject(Project project,
Class<T> planType)
|
<T extends Plan> |
FilteringPlanManager.getAllPlansForClone(Class<T> planType)
Deprecated.
since 4.1 use
FilteringPlanManager.getPlansForClone() |
<T extends Plan> |
PlanManager.getAllPlansMarkedForDeletion(Class<T> planType)
Returns a list of
Plans that are com.atlassian.bamboo.plan.Plan#markForDeletion()
for the given type |
<T extends Plan> |
PlanDao.getAllPlansMarkedForDeletion(Class<T> planType)
Returns a list of
Plans that are com.atlassian.bamboo.plan.Plan#markForDeletion() for the given type |
<T extends Plan> |
PlanManager.getPlanById(long id,
Class<T> planType)
Returns a
Plan by its id and Class |
<T extends Plan> |
PlanManager.getPlanByKey(PlanKey planKey,
Class<T> planType)
|
<T extends Plan> |
PlanDao.getPlanByKey(PlanKey planKey,
Class<T> aClass)
Return a
Plan that matches the given key |
<T extends Plan> |
PlanManager.getPlanByKey(String planKey,
Class<T> planType)
Deprecated.
since 4.2
|
<T extends Plan> |
PlanDao.getPlanByKey(String planKey,
Class<T> aClass)
Return a
Plan that matches the given key |
<T extends Plan> |
PlanManager.getPlanByKeyIfOfType(PlanKey planKey,
Class<T> planType)
Returns a
Plan by its planKey and if it's of the type Class. |
<T extends Plan> |
PlanManager.getPlanByPartialKeyAndName(PlanKey partialPlanKey,
String planName,
Class<T> planType)
Deprecated.
since 4.2
|
<T extends Plan> |
PlanDao.getPlanByPartialKeyAndName(PlanKey partialPlanKey,
String planName,
Class<T> planType)
|
<T extends Plan> |
PlanManager.getPlanCount(Class<T> planType)
How many plans filtered by
Class currently exist |
<T extends Plan> |
PlanDao.getPlanCount(Class<T> planType)
How many plans filtered by
Class currently exist |
<T extends Plan> |
PlanManager.getPlanIdentifiersForProject(ProjectIdentifier project,
Class<T> planType,
boolean includeMarkedForDeletion)
Retrieve a list of plans for a given project.
|
<T extends Plan> |
PlanDao.getPlanIdentifiersForProject(ProjectIdentifier projectIdentifier,
Class<T> planType,
boolean includeMarkedForDeletion)
Returns minimal data about all plans in the given project
|
<T extends Plan> |
PlanDao.getPlanKeys(Class<T> planType)
Returns all plan keys of a particular type
|
<T extends Plan> |
PlanManager.getPlansByProject(Project project,
Class<T> planType)
|
<T extends Plan> |
PlanManager.getProjectPlanMap(Class<T> planType,
boolean includeEmptyProjects)
|
<T extends Plan> |
FilteringPlanManager.getRunnablePlansByProject(Project project,
Class<T> planType)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Plan |
PlanPermissionSkeleton.getMaster()
Deprecated.
|
Plan |
PlanAwareContext.getPlan() |
Plan |
PlanManager.getPlanById(long id)
Returns a
Plan by its id |
Plan |
PlanManager.getPlanByKey(PlanKey planKey)
|
Plan |
PlanManager.getPlanByKey(String planKey)
Deprecated.
since 4.2
|
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Plan> |
PlanPermissionSkeleton.getPlanClass()
Deprecated.
|
Class<? extends Plan> |
PlanManager.getPlanClass(PlanKey planKey) |
Class<? extends Plan> |
PlanDao.getPlanClass(PlanKey planKey) |
| Modifier and Type | Method and Description |
|---|---|
int |
PlanFavouriteService.addFavourite(Plan plan,
com.atlassian.user.User user,
boolean honourManuallyUnmarked)
Mark plan as a favourite for a user.
|
void |
PlanManager.createPlan(Plan plan)
Same as savePlan, but create permissions used instead of edit permissions.
|
void |
PlanManager.deletePlan(Plan plan)
Removes the plan object from the database.
|
int |
PlanFavouriteService.removeFavourite(Plan plan,
com.atlassian.user.User user)
Remove plan from the user's favourite list and mark it "manually marked not favourite"
|
void |
PlanManager.savePlan(Plan plan)
Saves the
Plan |
void |
PlanManager.savePlanWithSchedulesStopped(Plan plan)
Saves the
Plan while polling jobs are stopped. |
void |
Plan.setMaster(Plan master)
Set which plan is the master of this plan.
|
void |
PlanPermissionSkeleton.setMaster(Plan master)
Deprecated.
|
int |
PlanFavouriteService.toggleFavourite(Plan plan,
com.atlassian.user.User user)
Toggle the plan's favourite status for a user.
|
| Constructor and Description |
|---|
PlanPermissionSkeleton(long id,
String planKey,
Class<? extends Plan> planClass,
PlanType planType)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ArtifactDefinitionManager.removeArtifactDefinitionsByPlan(Plan plan)
Remove all artifact definitions associated with a plan.
|
void |
ArtifactSubscriptionManager.removeArtifactSubscriptionsOfPlan(Plan plan)
Remove all artifact subscriptions for a plan
|
void |
ArtifactDefinitionDao.removeByProducer(Plan plan)
Remove all artifact definitions associated with a plan.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ChainBranch
Represents a branch of a plan.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ChainBranchManager.hasBranches(Plan plan)
Returns whether or not the given plan has any branches
|
void |
ChainBranch.setMaster(Plan master) |
| Modifier and Type | Method and Description |
|---|---|
<T extends BuildConfigurationAwarePlugin> |
PlanConfigurationUIPluginHelper.getBuildConfigurationPlugins(Plan plan,
Class<T> pluginClass)
Find all installed plugins of a given class.
|
<T extends BuildConfigurationAwarePlugin> |
PlanConfigurationUIPluginHelper.getBuildConfigurationPlugins(Plan plan,
Class<T> pluginClass,
Class<? extends com.atlassian.plugin.ModuleDescriptor<?>>... moduleDescriptorsClasses)
Find all installed plugins of a given class and module descriptor.
|
<T extends BuildConfigurationAwarePlugin> |
PlanConfigurationUIPluginHelper.getEditHtml(BuildConfiguration buildConfiguration,
Plan plan,
Class<T> pluginClass)
Generate html page from all plugin edit fragments.
|
<T extends BuildConfigurationAwarePlugin> |
PlanConfigurationUIPluginHelper.getEditHtmlList(BuildConfiguration buildConfiguration,
Plan plan,
Class<T> pluginClass,
Class<? extends com.atlassian.plugin.ModuleDescriptor<?>>... moduleDescriptorsClasses)
Generate list of html edit fragments for all plugins.
|
<T extends BuildConfigurationAwarePlugin> |
PlanConfigurationUIPluginHelper.getViewHtml(Plan plan,
Class<T> pluginClass)
Generate html page from all plugin view fragments.
|
<T extends BuildConfigurationAwarePlugin> |
PlanConfigurationUIPluginHelper.getViewHtmlList(Plan plan,
Class<T> pluginClass,
Class<? extends com.atlassian.plugin.ModuleDescriptor<?>>... moduleDescriptorsClasses)
Generate list of html view fragments for all plugins.
|
| Modifier and Type | Method and Description |
|---|---|
Plan |
PlanRepositoryLink.getPlan() |
| Modifier and Type | Method and Description |
|---|---|
RepositoryDefinition |
RepositoryConfigurationService.attachGlobalRepositoryToPlan(Plan plan,
long selectedGlobalRepositoryId,
boolean buildTrigger)
Creates relationship between global repository and a plan
|
RepositoryDefinition |
RepositoryConfigurationService.createRepository(Plan plan,
String repositoryName,
String pluginKey,
String webRepositoryKey,
org.apache.commons.configuration.HierarchicalConfiguration configuration,
boolean buildTrigger)
Creates new repository and adds it to the plan configuration
|
void |
RepositoryConfigurationService.deleteRepository(Plan plan,
long repositoryId)
Removes repository definition for plan
|
void |
RepositoryConfigurationService.deleteRepository(Plan plan,
long repositoryId,
long replacementRepositoryId)
Removes repository definition for plan
|
RepositoryDefinition |
RepositoryConfigurationService.editRepository(Plan plan,
String repositoryName,
String selectedRepositoryKey,
String webRepositoryKey,
RepositoryDefinition repositoryDefinition,
org.apache.commons.configuration.HierarchicalConfiguration configuration)
Changes (replaces) repository definition.
|
String |
AdvancedConfigurationAwareRepository.getAdvancedEditHtml(BuildConfiguration buildConfiguration,
Plan plan) |
String |
AdvancedConfigurationAwareRepository.getAdvancedViewHtml(Plan plan) |
Collection<RepositoryDataEntity> |
RepositoryDefinitionDao.getPrivateRepositoryDefinitionsByPlan(Plan plan) |
void |
RepositoryDefinitionManager.removeRepositoriesForPlan(Plan plan)
Remove all repositories from
Plan that are not global repositories. |
void |
PlanRepositoryLink.setPlan(Plan plan) |
void |
RepositoryConfigurationService.shareRepository(Plan plan,
RepositoryData repositoryData,
String repositoryName,
String userDescription,
com.atlassian.user.User user)
Converts existing Plan repository to Shared Repository.
|
| Modifier and Type | Method and Description |
|---|---|
Plan |
ResultsSummary.getPlan()
Deprecated.
since 5.0 use
ResultsSummary.getImmutablePlan() |
| Modifier and Type | Method and Description |
|---|---|
<T extends ResultsSummary> |
BuildResultsSummaryDao.getAllResultSummariesForPlan(Plan plan)
Get all the
ResultsSummarys for the given Plan |
BuildResultsSummary |
BuildResultsSummaryDao.getFirstBuildSummary(Plan plan)
Returns the first available
BuildResultsSummary for the given Plan |
List<ResultsSummary> |
ResultsSummaryManager.getLastNFailedResultsSummaries(Plan build,
int numberOfResults)
Returns the most recent n failed build results.
|
List<ResultsSummary> |
ResultsSummaryManager.getNeighbouringSummaries(Plan plan,
int buildNumber)
Returns all the
ResultsSummary objects that matches the passed build numbers |
List<ResultsSummary> |
BuildResultsSummaryDao.getNeighbouringSummaries(Plan plan,
int currentBuildNumber)
Returns build results "around" given build number
|
long |
ResultsSummaryManager.getNumberOfFinishedResults(Plan plan)
|
long |
BuildResultsSummaryDao.getNumberOfFinishedResults(Plan build)
Returns the number of finished results available for the given
Plan |
<T extends ResultsSummary> |
ResultsSummaryManager.getResultSummariesForPlanByLifeCycleState(Plan plan,
LifeCycleState lifeCycleState,
int firstResult,
int maxResults)
Get the
ResultsSummarys for the given Plan in give LifeCycleState that are Results are sorted by build number (descending). |
<T extends ResultsSummary> |
BuildResultsSummaryDao.getResultSummariesForPlanByLifeCycleState(Plan plan,
LifeCycleState lifeCycleState,
int firstResult,
int maxResults)
Get the
ResultsSummarys for the given Plan in give LifeCycleState that are Results are
sorted by build number (descending). |
void |
ResultsSummaryManager.moveResultSummaries(Plan newParentPlan,
PlanKey oldPlanKey,
PlanKey newPlanKey)
Reassigns plan key ResultsSummaries associated with selected plan key.
|
int |
ResultsSummaryManager.removeResultsSummariesForPlan(Plan plan)
Remove all resultSummary objects for the given plan.
|
void |
ResultsSummaryManager.removeResultSummary(Plan plan,
int buildNumber)
Remove plan result summary and all associated objects.
|
void |
ResultsSummaryManager.removeResultSummary(Plan plan,
ResultsSummary resultsSummary)
Remove plan result summary and all associated objects.
|
| Modifier and Type | Method and Description |
|---|---|
Plan |
TestClass.getPlan()
Get the plan that this test class belongs to
|
| Modifier and Type | Method and Description |
|---|---|
TestClass |
TestClass.copyTestClass(Plan plan)
Creates a copy of the
TestClass. |
void |
TestsManager.copyTestResultsToBuildResultsSummary(Plan plan,
BuildResultsSummary summary,
List<TestResults> oldTests)
Converts a set of test results to a list of TestClassResults and attaches them to the BRS.
|
List<TestClass> |
TestsDao.getTestClassesForPlan(Plan plan)
Retrieve all test classes attached to a specific plan
|
int |
TestsManager.removeResultsByPlan(Plan plan)
Remove all
TestClassResult objects referenced by ResultsSummary objects identified by planKey |
void |
TestsManager.repopulateTestResultsInBuildResultsSummary(Plan plan,
BuildResultsSummary summary,
List<TestResults> successfulTests) |
| Modifier and Type | Method and Description |
|---|---|
Plan |
PlanSchedulerCallback.getPlan() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
PlanSchedulerCallback.run(Plan plan) |
| Constructor and Description |
|---|
PlanSchedulerCallback(Plan plan) |
| Modifier and Type | Method and Description |
|---|---|
String |
RenderableBuildConfiguration.getEditHtml(BuildConfiguration buildConfiguration,
Plan plan)
Returns HTML that represents the form fragment for editing the repository.
|
String |
RenderableBuildConfiguration.getViewHtml(Plan plan)
Returns the HTML that represents the view of the repository configuration
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
BuildConfigurationUIPlugin.isApplicableTo(Plan plan)
Checks if the plugin is applicable to a plan.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
DependencyBlockingStrategy.setStrategy(DependencyBlockingStrategy strategy,
Plan plan)
Set strategy for build
|
| Modifier and Type | Method and Description |
|---|---|
Plan |
VariableDefinition.getPlan() |
| Modifier and Type | Method and Description |
|---|---|
VariableDefinition |
VariableDefinitionFactory.createPlanVariable(Plan plan,
String key,
String value)
Create plan variable definition
|
VariableDefinition |
VariableConfigurationService.createPlanVariable(Plan plan,
String variableKey,
String variableValue)
Creates new Plan variable.
|
VariableDefinition |
VariableConfigurationService.createUniquePlanVariable(Plan plan,
String variableKey,
String variableValue)
Creates new Plan variable.
|
void |
VariableDefinitionManager.deleteVariablesForPlan(Plan plan)
Removes variable definitions form specified plan
|
void |
VariableDefinition.setPlan(Plan plan) |
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.