com.atlassian.bamboo.build
Class CachedBuildDefinitionManagerImpl
java.lang.Object
com.atlassian.bamboo.build.CachedBuildDefinitionManagerImpl
- All Implemented Interfaces:
- BuildDefinitionManager, com.atlassian.event.EventListener
public class CachedBuildDefinitionManagerImpl
- extends java.lang.Object
- implements BuildDefinitionManager, com.atlassian.event.EventListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CachedBuildDefinitionManagerImpl
public CachedBuildDefinitionManagerImpl(BuildDefinitionManager delegate)
getBuildDefinition
public BuildDefinition getBuildDefinition(PlanKey planKey)
- Description copied from interface:
BuildDefinitionManager
- Returns a stateful version the build definition for the
Plan
. This means that when you set various flags
on it, the flags won't be lost (unless you updated your BuildDefinition
.
- Specified by:
getBuildDefinition
in interface BuildDefinitionManager
- Returns:
- A populated
BuildDefinition
object.
savePlanAndDefinition
public void savePlanAndDefinition(Plan plan)
- Description copied from interface:
BuildDefinitionManager
- Saves the
Plan
and the BuildConfiguration
- Specified by:
savePlanAndDefinition
in interface BuildDefinitionManager
savePlanAndDefinition
public void savePlanAndDefinition(Plan plan,
BuildConfiguration buildConfiguration)
- Description copied from interface:
BuildDefinitionManager
- Saves the
Plan
and the BuildConfiguration
- Specified by:
savePlanAndDefinition
in interface BuildDefinitionManager
handleEvent
public void handleEvent(com.atlassian.event.Event event)
- Specified by:
handleEvent
in interface com.atlassian.event.EventListener
getHandledEventClasses
public java.lang.Class[] getHandledEventClasses()
- Specified by:
getHandledEventClasses
in interface com.atlassian.event.EventListener
Copyright © 2011 Atlassian. All Rights Reserved.