|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ThreadSafe public interface BuildDefinitionManager
A manager for stateful BuildDefinition
.
Method Summary | |
---|---|
BuildDefinition |
getBuildDefinition(PlanKey planKey)
Returns a stateful version the build definition for the Plan . |
BuildDefinition |
getUnmergedBuildDefinition(PlanKey planKey)
Returns a stateful version the build definition for the Plan . |
void |
savePlanAndDefinition(Plan plan)
Saves the Plan and the BuildConfiguration |
void |
savePlanAndDefinition(Plan plan,
BuildConfiguration buildConfiguration)
Saves the Plan and the BuildConfiguration |
void |
savePlanAndDefinition(Plan plan,
BuildDefinition buildDefinition)
Convert and save the build definition. |
void |
savePlanAndDefinition(Plan plan,
BuildDefinition buildDefinition,
boolean withQuartzJobsRestart)
Convert and save the build definition. |
Method Detail |
---|
BuildDefinition getBuildDefinition(@NotNull PlanKey planKey)
Plan
. This means that when you set various flags
on it, the flags won't be lost (unless you updated your BuildDefinition
.
In case of PlanBranches, it will return BuildDefinition merged with Master plan.
planKey
-
BuildDefinition
object.BuildDefinition getUnmergedBuildDefinition(@NotNull PlanKey planKey)
Plan
. This means that when you set various flags
on it, the flags won't be lost (unless you updated your BuildDefinition
.
In case of PlanBranches, it will return BuildDefinition specific to a given PlanBranch.
planKey
-
BuildDefinition
object.void savePlanAndDefinition(Plan plan)
Plan
and the BuildConfiguration
plan
- void savePlanAndDefinition(Plan plan, BuildConfiguration buildConfiguration)
Plan
and the BuildConfiguration
plan
- buildConfiguration
- void savePlanAndDefinition(Plan plan, BuildDefinition buildDefinition)
plan
- buildDefinition
- void savePlanAndDefinition(Plan plan, BuildDefinition buildDefinition, boolean withQuartzJobsRestart)
plan
- buildDefinition
- withQuartzJobsRestart
- indicates if relevant polling jobs should be reinitialised
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |