com.atlassian.bamboo.build
Interface BuildDefinitionManager

All Known Implementing Classes:
DefaultBuildDefinitionManager

public interface BuildDefinitionManager

A manager for stateful BuildDefinition.


Method Summary
 BuildDefinition getBuildDefinition(Build build)
          Returns a stateful version the build definition for the Build.
 void removeBuildDefinition(Build build)
           
 void updateBuildDefinition(Build build)
          Updates the build definition in the cache
 void updateBuildDefinition(Build build, BuildDefinition oldBuildDefinition)
           
 

Method Detail

getBuildDefinition

BuildDefinition getBuildDefinition(Build build)
Returns a stateful version the build definition for the Build. This means that when you set various flags on it, the flags won't be lost (unless you updated your BuildDefinition.

Parameters:
build - @NotNull
Returns:
A populated BuildDefinition object.

updateBuildDefinition

void updateBuildDefinition(Build build)
Updates the build definition in the cache

Parameters:
build - @NotNull

updateBuildDefinition

void updateBuildDefinition(Build build,
                           BuildDefinition oldBuildDefinition)

removeBuildDefinition

void removeBuildDefinition(Build build)


Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.