Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006 Atlassian Software Systems. All Rights Reserved.