com.atlassian.bamboo.build.strategy
Interface BuildStrategy

All Superinterfaces:
ConvertibleFromConfig, java.io.Serializable
All Known Subinterfaces:
QuartzStrategy
All Known Implementing Classes:
AbstractBuildStrategy, AbstractQuartzStrategy, CronTriggerBuildStrategy, ManualBuildStrategy, PollingBuildStrategy, SingleDailyBuildStrategy, TriggeredBuildStrategy

public interface BuildStrategy
extends ConvertibleFromConfig, java.io.Serializable

This interface is used to determine if a build should be built.


Method Summary
 void addDefaultValues(BuildConfiguration buildConfiguration)
           
 java.lang.String getDescription()
           
 java.lang.String getKey()
          A lowercase string key to identify the build strategy
 java.lang.String getName()
          Returns the display name of the strategy
 void init(ImmutablePlan plan)
          Called whenever Bamboo starts up
 ErrorCollection validate(BuildConfiguration buildConfiguration)
          Takes in a BuildConfiguration and returns any errors possible
 
Methods inherited from interface com.atlassian.bamboo.fieldvalue.ConvertibleFromConfig
populateFromConfig, toConfiguration
 

Method Detail

init

void init(@NotNull
          ImmutablePlan plan)
Called whenever Bamboo starts up

Parameters:
plan -

validate

ErrorCollection validate(BuildConfiguration buildConfiguration)
Takes in a BuildConfiguration and returns any errors possible

Parameters:
buildConfiguration - not null
Returns:
ErrorCollection. must not be null

getKey

java.lang.String getKey()
A lowercase string key to identify the build strategy

Returns:
String must not be null

getName

java.lang.String getName()
Returns the display name of the strategy

Returns:
String must not be null

getDescription

java.lang.String getDescription()

addDefaultValues

void addDefaultValues(BuildConfiguration buildConfiguration)


Copyright © 2012 Atlassian. All Rights Reserved.