com.atlassian.bamboo.build.creation
Class BuildPlanConstructorImpl

java.lang.Object
  extended by com.atlassian.bamboo.build.creation.BuildPlanConstructorImpl
All Implemented Interfaces:
BuildPlanConstructor

Deprecated. since 2.7

@Deprecated
public class BuildPlanConstructorImpl
extends java.lang.Object
implements BuildPlanConstructor


Constructor Summary
BuildPlanConstructorImpl(Build buildPlan, BuildConfiguration buildConfiguration, BuildCreationService buildCreationService, BuildDefinitionConverter buildDefinitionConverter, ProjectManager projectManager, BambooAclUpdateHelper aclUpdateHelper, BambooAuthenticationContext authenticationContext)
          Deprecated.  
BuildPlanConstructorImpl(BuildCreationService buildCreationService, BuildDefinitionConverter buildDefinitionConverter, ProjectManager projectManager, BambooAclUpdateHelper aclUpdateHelper, BambooAuthenticationContext authenticationContext)
          Deprecated.  
 
Method Summary
 BuildPlanConstructor addNotificationRule(NotificationRule newRule)
          Deprecated. Adds a notification rule to the plan.
 BuildPlanConstructor existingProject(java.lang.String projectKey)
          Deprecated. The existing Project that the plan will belong to
 BuildPlanConstructor key(java.lang.String planKey)
          Deprecated. The Build component for the plan (e.g.
 BuildPlanConstructor name(java.lang.String planName)
          Deprecated. The name of the plan (not the project
 BuildPlanConstructor newProject(java.lang.String projectKey, java.lang.String projectName)
          Deprecated. Sets a new Project details that the Build will belong to
 BuildPlanConstructor setBuildConfigurationProperty(java.lang.String key, java.lang.String value)
          Deprecated. Adds any generic properties to the buildConfiguration for the plan you are currently creating
 BuildPlanConstructor setBuilder(Builder builder, java.lang.String label)
          Deprecated. Sets the builder on the plan, with the matching label
 BuildPlanConstructor setBuildStrategy(BuildStrategy buildStrategy)
          Deprecated. Sets the build strategy
 BuildPlanConstructor setRepository(Repository repository)
          Deprecated. Sets the repository on the plan
 BuildPlanConstructor setWebRepositoryViewer(WebRepositoryViewer webRepositoryViewer)
          Deprecated. Sets the web repository viewer on the plan
 BuildPlanConstructor suspendedFromBuilding(boolean suspendedFromBuilding)
          Deprecated. Set plan's suspendedFromBuilding flag
 PlanCreationBean toPlanCreationBean()
          Deprecated. Outputs a PlanCreationBean that can then be persisted
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildPlanConstructorImpl

public BuildPlanConstructorImpl(BuildCreationService buildCreationService,
                                BuildDefinitionConverter buildDefinitionConverter,
                                ProjectManager projectManager,
                                BambooAclUpdateHelper aclUpdateHelper,
                                BambooAuthenticationContext authenticationContext)
Deprecated. 

BuildPlanConstructorImpl

public BuildPlanConstructorImpl(Build buildPlan,
                                BuildConfiguration buildConfiguration,
                                BuildCreationService buildCreationService,
                                BuildDefinitionConverter buildDefinitionConverter,
                                ProjectManager projectManager,
                                BambooAclUpdateHelper aclUpdateHelper,
                                BambooAuthenticationContext authenticationContext)
Deprecated. 
Method Detail

toPlanCreationBean

public PlanCreationBean toPlanCreationBean()
Deprecated. 
Description copied from interface: BuildPlanConstructor
Outputs a PlanCreationBean that can then be persisted

Specified by:
toPlanCreationBean in interface BuildPlanConstructor
Returns:

newProject

public BuildPlanConstructor newProject(@NotNull
                                       java.lang.String projectKey,
                                       @NotNull
                                       java.lang.String projectName)
Deprecated. 
Description copied from interface: BuildPlanConstructor
Sets a new Project details that the Build will belong to

Specified by:
newProject in interface BuildPlanConstructor
Returns:

existingProject

public BuildPlanConstructor existingProject(@NotNull
                                            java.lang.String projectKey)
Deprecated. 
Description copied from interface: BuildPlanConstructor
The existing Project that the plan will belong to

Specified by:
existingProject in interface BuildPlanConstructor
Returns:

key

public BuildPlanConstructor key(@NotNull
                                java.lang.String planKey)
Deprecated. 
Description copied from interface: BuildPlanConstructor
The Build component for the plan (e.g. DEF, not BAM-DEF)

Specified by:
key in interface BuildPlanConstructor
Returns:

name

public BuildPlanConstructor name(@NotNull
                                 java.lang.String planName)
Deprecated. 
Description copied from interface: BuildPlanConstructor
The name of the plan (not the project

Specified by:
name in interface BuildPlanConstructor
Returns:

suspendedFromBuilding

public BuildPlanConstructor suspendedFromBuilding(boolean suspendedFromBuilding)
Deprecated. 
Description copied from interface: BuildPlanConstructor
Set plan's suspendedFromBuilding flag

Specified by:
suspendedFromBuilding in interface BuildPlanConstructor
Parameters:
suspendedFromBuilding - Value to set
Returns:
Plan's constructor

setRepository

public BuildPlanConstructor setRepository(@NotNull
                                          Repository repository)
Deprecated. 
Description copied from interface: BuildPlanConstructor
Sets the repository on the plan

Specified by:
setRepository in interface BuildPlanConstructor
Returns:

setWebRepositoryViewer

public BuildPlanConstructor setWebRepositoryViewer(@NotNull
                                                   WebRepositoryViewer webRepositoryViewer)
Deprecated. 
Description copied from interface: BuildPlanConstructor
Sets the web repository viewer on the plan

Specified by:
setWebRepositoryViewer in interface BuildPlanConstructor
Returns:

setBuilder

public BuildPlanConstructor setBuilder(@NotNull
                                       Builder builder,
                                       @NotNull
                                       java.lang.String label)
Deprecated. 
Description copied from interface: BuildPlanConstructor
Sets the builder on the plan, with the matching label

Specified by:
setBuilder in interface BuildPlanConstructor
Returns:

setBuildStrategy

public BuildPlanConstructor setBuildStrategy(@NotNull
                                             BuildStrategy buildStrategy)
Deprecated. 
Description copied from interface: BuildPlanConstructor
Sets the build strategy

Specified by:
setBuildStrategy in interface BuildPlanConstructor
Returns:

addNotificationRule

public BuildPlanConstructor addNotificationRule(@NotNull
                                                NotificationRule newRule)
Deprecated. 
Description copied from interface: BuildPlanConstructor
Adds a notification rule to the plan. Can add multiple

Specified by:
addNotificationRule in interface BuildPlanConstructor
Returns:

setBuildConfigurationProperty

public BuildPlanConstructor setBuildConfigurationProperty(java.lang.String key,
                                                          java.lang.String value)
Deprecated. 
Description copied from interface: BuildPlanConstructor
Adds any generic properties to the buildConfiguration for the plan you are currently creating

Specified by:
setBuildConfigurationProperty in interface BuildPlanConstructor
Returns:


Copyright © 2011 Atlassian. All Rights Reserved.