|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.build.creation.BuildPlanConstructorImpl
public class BuildPlanConstructorImpl
Constructor Summary | |
---|---|
BuildPlanConstructorImpl(BuildPlanCreationService buildPlanCreationService,
ProjectManager projectManager,
BambooAclUpdateHelper aclUpdateHelper,
BambooAuthenticationContext authenticationContext)
|
Method Summary | |
---|---|
BuildPlanConstructor |
addNotificationRule(NotificationRule newRule)
Adds a notification rule to the plan. |
BuildPlanConstructor |
existingProject(java.lang.String projectKey)
The existing Project that the plan will belong to |
BuildPlanConstructor |
key(java.lang.String planKey)
The Build component for the plan (e.g. |
BuildPlanConstructor |
name(java.lang.String planName)
The name of the plan (not the project |
BuildPlanConstructor |
newProject(java.lang.String projectKey,
java.lang.String projectName)
Sets a new Project details that the Build will belong to |
BuildPlanConstructor |
setBuilder(Builder builder,
java.lang.String label)
Sets the builder on the plan, with the matching label |
BuildPlanConstructor |
setBuildStrategy(BuildStrategy buildStrategy)
Sets the build strategy |
BuildPlanConstructor |
setRepository(Repository repository)
Sets the repository on the plan |
BuildPlanConstructor |
setWebRepositoryViewer(WebRepositoryViewer webRepositoryViewer)
Sets the web repository viewer on the plan |
BuildPlanConstructor |
suspendedFromBuilding(boolean suspendedFromBuilding)
Set plan's suspendedFromBuilding flag |
BuildCreationBean |
toBuildCreationBean()
Outputs a BuildCreationBean 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 |
---|
public BuildPlanConstructorImpl(BuildPlanCreationService buildPlanCreationService, ProjectManager projectManager, BambooAclUpdateHelper aclUpdateHelper, BambooAuthenticationContext authenticationContext)
Method Detail |
---|
public BuildCreationBean toBuildCreationBean()
BuildPlanConstructor
BuildCreationBean
that can then be persisted
toBuildCreationBean
in interface BuildPlanConstructor
public BuildPlanConstructor newProject(@NotNull java.lang.String projectKey, @NotNull java.lang.String projectName)
BuildPlanConstructor
Project
details that the Build
will belong to
newProject
in interface BuildPlanConstructor
public BuildPlanConstructor existingProject(@NotNull java.lang.String projectKey)
BuildPlanConstructor
Project
that the plan will belong to
existingProject
in interface BuildPlanConstructor
public BuildPlanConstructor key(@NotNull java.lang.String planKey)
BuildPlanConstructor
Build
component for the plan (e.g. DEF, not BAM-DEF)
key
in interface BuildPlanConstructor
public BuildPlanConstructor name(@NotNull java.lang.String planName)
BuildPlanConstructor
name
in interface BuildPlanConstructor
public BuildPlanConstructor suspendedFromBuilding(boolean suspendedFromBuilding)
BuildPlanConstructor
suspendedFromBuilding
in interface BuildPlanConstructor
suspendedFromBuilding
- Value to set
public BuildPlanConstructor setRepository(@NotNull Repository repository)
BuildPlanConstructor
setRepository
in interface BuildPlanConstructor
public BuildPlanConstructor setWebRepositoryViewer(@NotNull WebRepositoryViewer webRepositoryViewer)
BuildPlanConstructor
setWebRepositoryViewer
in interface BuildPlanConstructor
public BuildPlanConstructor setBuilder(@NotNull Builder builder, @NotNull java.lang.String label)
BuildPlanConstructor
setBuilder
in interface BuildPlanConstructor
public BuildPlanConstructor setBuildStrategy(@NotNull BuildStrategy buildStrategy)
BuildPlanConstructor
setBuildStrategy
in interface BuildPlanConstructor
public BuildPlanConstructor addNotificationRule(@NotNull NotificationRule newRule)
BuildPlanConstructor
addNotificationRule
in interface BuildPlanConstructor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |