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.buildqueue
Class DefaultBuildPipeline

    java.lang.Object
      com.atlassian.bamboo.buildqueue.DefaultBuildPipeline

All Implemented Interfaces:
  BuildPipeline

    public class DefaultBuildPipeline

extends Object
implements BuildPipeline

This class provides a SEDA like build pipeline.

Constructor Summary
`DefaultBuildPipeline(PipelineDefinition definition, BuildEventNotifier buildEventNotifier, ErrorHandler errorHandler)`

Method Summary
`boolean` | `acceptsBuildResults(BuildResults buildResults)`
`void` | `activate()`
`void` | `addBuild(BuildResults buildResults)`
`int` | `compareTo(Object obj)`
`void` | `deactivate()`
`boolean` | `equals(Object o)`
`BuildResults` | `getBuildResultForBuild(Build build)`
`BuildResults` | `getCurrentlyBuilding()`
`PipelineDefinition` | `getDefinition()`
`long` | `getId()`
`String` | `getName()`
`Collection` | `getQueue()`
`int` | `hashCode()`
`boolean` | `isAcceptsAllBuilds()`
`boolean` | `isActive()`
`boolean` | `isBusy()`
`void` | `removeBuild(Build build)`
`void` | `removeBuildKey(String buildKey)`
`void` | `setDefinition(PipelineDefinition pipelineDefinition)`
`void` | `setName(String name)`
`int` | `size()`
`void` | `start()` Start the pipeline's compontents
`void` | `stop()` Stop the pipeline's components

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### DefaultBuildPipeline

    public DefaultBuildPipeline(PipelineDefinition definition,
                                BuildEventNotifier buildEventNotifier,
                                ErrorHandler errorHandler)

Method Detail

### start

    public void start()

  Start the pipeline's compontents

  Specified by:
    `start` in interface `BuildPipeline`

### getBuildResultForBuild

    public BuildResults getBuildResultForBuild(Build build)

  Specified by:
    `getBuildResultForBuild` in interface `BuildPipeline`

### stop

    public void stop()

  Stop the pipeline's components

  Specified by:
    `stop` in interface `BuildPipeline`

### size

    public int size()

  Specified by:
    `size` in interface `BuildPipeline`

### addBuild

    public void addBuild(BuildResults buildResults)
                  throws InterruptedException

  Specified by:
    `addBuild` in interface `BuildPipeline`
  Throws:
    `InterruptedException`

### getName

    public String getName()

  Specified by:
    `getName` in interface `BuildPipeline`

### getId

    public long getId()

  Specified by:
    `getId` in interface `BuildPipeline`

### setName

    public void setName(String name)

### setDefinition

    public void setDefinition(PipelineDefinition pipelineDefinition)

  Specified by:
    `setDefinition` in interface `BuildPipeline`

### getDefinition

    public PipelineDefinition getDefinition()

  Specified by:
    `getDefinition` in interface `BuildPipeline`

### isAcceptsAllBuilds

    public boolean isAcceptsAllBuilds()

  Specified by:
    `isAcceptsAllBuilds` in interface `BuildPipeline`

### acceptsBuildResults

    public boolean acceptsBuildResults(BuildResults buildResults)

  Specified by:
    `acceptsBuildResults` in interface `BuildPipeline`

### removeBuild

    public void removeBuild(Build build)

  Specified by:
    `removeBuild` in interface `BuildPipeline`

### isActive

    public boolean isActive()

  Specified by:
    `isActive` in interface `BuildPipeline`

### activate

    public void activate()

  Specified by:
    `activate` in interface `BuildPipeline`

### deactivate

    public void deactivate()

  Specified by:
    `deactivate` in interface `BuildPipeline`

### isBusy

    public boolean isBusy()

  Specified by:
    `isBusy` in interface `BuildPipeline`

### getCurrentlyBuilding

    public BuildResults getCurrentlyBuilding()

  Specified by:
    `getCurrentlyBuilding` in interface `BuildPipeline`

### removeBuildKey

    public void removeBuildKey(String buildKey)

### getQueue

    public Collection getQueue()

  Specified by:
    `getQueue` in interface `BuildPipeline`

### equals

    public boolean equals(Object o)

  Overrides:
    `equals` in class `Object`

### compareTo

    public int compareTo(Object obj)

### hashCode

    public int hashCode()

  Overrides:
    `hashCode` in class `Object`

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.