|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.build.CachedBuildDefinitionManagerImpl
public class CachedBuildDefinitionManagerImpl
Constructor Summary | |
---|---|
CachedBuildDefinitionManagerImpl(BuildDefinitionManager delegate,
ChainBranchManager chainBranchManager)
|
Method Summary | |
---|---|
BuildDefinition |
getBuildDefinition(PlanKey planKey)
Returns a stateful version the build definition for the Plan . |
BambooCacheStats |
getCacheStats()
|
java.lang.Class[] |
getHandledEventClasses()
|
BuildDefinition |
getUnmergedBuildDefinition(PlanKey planKey)
Returns a stateful version the build definition for the Plan . |
void |
handleEvent(com.atlassian.event.Event event)
|
void |
invalidateCaches()
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CachedBuildDefinitionManagerImpl(BuildDefinitionManager delegate, ChainBranchManager chainBranchManager)
Method Detail |
---|
public BuildDefinition getBuildDefinition(@NotNull PlanKey planKey)
BuildDefinitionManager
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.
getBuildDefinition
in interface BuildDefinitionManager
BuildDefinition
object.public BuildDefinition getUnmergedBuildDefinition(@NotNull PlanKey planKey)
BuildDefinitionManager
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.
getUnmergedBuildDefinition
in interface BuildDefinitionManager
BuildDefinition
object.public void savePlanAndDefinition(Plan plan)
BuildDefinitionManager
Plan
and the BuildConfiguration
savePlanAndDefinition
in interface BuildDefinitionManager
public void savePlanAndDefinition(Plan plan, BuildConfiguration buildConfiguration)
BuildDefinitionManager
Plan
and the BuildConfiguration
savePlanAndDefinition
in interface BuildDefinitionManager
public void savePlanAndDefinition(Plan plan, BuildDefinition buildDefinition)
BuildDefinitionManager
savePlanAndDefinition
in interface BuildDefinitionManager
public void invalidateCaches()
public BambooCacheStats getCacheStats()
public void handleEvent(com.atlassian.event.Event event)
handleEvent
in interface com.atlassian.event.EventListener
public java.lang.Class[] getHandledEventClasses()
getHandledEventClasses
in interface com.atlassian.event.EventListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |