|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Build objects and these are no longer supported. There is no
direct replacement for this functionality but various implementation of the PlanCreationService may provide the
required functionality
@Deprecated @NotThreadSafe public interface BuildPlanConstructor
A builder that will allow simple creation of Build objects on the server side. It does not support the
createion of chains or jobs.
It's not called a plan builder simply because there's already way too many things that builds in Bamboo.
| 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 |
| Method Detail |
|---|
BuildPlanConstructor newProject(@NotNull
java.lang.String projectKey,
@NotNull
java.lang.String projectName)
Project details that the Build will belong to
projectKey - projectName -
BuildPlanConstructor existingProject(@NotNull
java.lang.String projectKey)
Project that the plan will belong to
projectKey -
BuildPlanConstructor key(@NotNull
java.lang.String planKey)
Build component for the plan (e.g. DEF, not BAM-DEF)
planKey -
BuildPlanConstructor name(@NotNull
java.lang.String planName)
planName -
BuildPlanConstructor suspendedFromBuilding(boolean suspendedFromBuilding)
suspendedFromBuilding - Value to set
BuildPlanConstructor setRepository(@NotNull
Repository repository)
repository -
BuildPlanConstructor setWebRepositoryViewer(@NotNull
WebRepositoryViewer webRepositoryViewer)
webRepositoryViewer -
BuildPlanConstructor setBuildStrategy(@NotNull
BuildStrategy buildStrategy)
buildStrategy -
BuildPlanConstructor setBuilder(@NotNull
Builder builder,
@NotNull
java.lang.String label)
builder - label -
BuildPlanConstructor addNotificationRule(@NotNull
NotificationRule newRule)
newRule -
BuildPlanConstructor setBuildConfigurationProperty(java.lang.String key,
java.lang.String value)
key - value -
PlanCreationBean toPlanCreationBean()
PlanCreationBean that can then be persisted
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||