com.atlassian.bamboo.v2.build
Interface BuildConfigurationAwarePlugin

All Superinterfaces:
BambooPluginModule, InitablePluginModule, RenderableBuildConfiguration
All Known Subinterfaces:
BuildConfigurationUIPlugin, Builder, BuildTriggerCondition, CleanCheckoutAwareRepository, CleanWorkingDirectoryAwareRepository, CommitUrlProvider, ConfigurablePlugin, CustomVariableProviderRepository, DependenciesBuildConfigurationPlugin, EnvironmentVariablesAwareBuilder, IncludeExcludeAwareRepository, InitialBuildAwareRepository, MavenPomAccessorCapableRepository, MiscellaneousBuildConfigurationPlugin, MutableEnvironmentVariablesAwareBuilder, MutableQuietPeriodAwareRepository, PostConfigurableBuilder, PostConfigurableRepository, QuietPeriodAwareRepository, Repository, RepositoryEventAware, SelectableAuthenticationRepository, WebRepositoryViewer
All Known Implementing Classes:
AbstractBuilder, AbstractMavenBuilder, AbstractPhpUnitBuilder, AbstractRepository, AbstractWebRepositoryViewer, AntBuilder, AutomaticDependencyManagementPlugin, BaseBuildConfigurationAwarePlugin, BaseConfigurableBuildPlugin, BaseConfigurablePlugin, BitbucketRepository, BuildExpiryPerPlanPlugin, BuildLabeller, BuildMonitoringPerPlanPlugin, CloverBuildProcessor, ConcurrentBuildsPlanConfigurationPlugin, CustomCommandBuilder, CVSRepository, DefaultWebRepositoryViewer, FisheyeWebRepositoryViewer, GrailsBuilder, HgRepository, HgWebRepositoryViewer, Maven2Builder, Maven3Builder, MavenBuilder, NoWebRepositoryViewer, NullRepository, PerforceRepository, PhpUnit33XBuilder, PhpUnitBuilder, PlansGreenCondition, ScriptBuilder, SvnRepository

public interface BuildConfigurationAwarePlugin
extends InitablePluginModule, RenderableBuildConfiguration


Method Summary
 void addDefaultValues(BuildConfiguration buildConfiguration)
          Extension point for adding default values to the form for RenderableBuildConfiguration.getEditHtml(com.atlassian.bamboo.ww2.actions.build.admin.create.BuildConfiguration, com.atlassian.bamboo.plan.Plan)
 void prepareConfigObject(BuildConfiguration buildConfiguration)
          Do any preprocessing work before validation occurs.
 ErrorCollection validate(BuildConfiguration buildConfiguration)
          Validates the properties in the BuildConfiguration object.
 
Methods inherited from interface com.atlassian.bamboo.plugin.InitablePluginModule
init
 
Methods inherited from interface com.atlassian.bamboo.v2.build.RenderableBuildConfiguration
getEditHtml, getViewHtml
 

Method Detail

addDefaultValues

void addDefaultValues(@NotNull
                      BuildConfiguration buildConfiguration)
Extension point for adding default values to the form for RenderableBuildConfiguration.getEditHtml(com.atlassian.bamboo.ww2.actions.build.admin.create.BuildConfiguration, com.atlassian.bamboo.plan.Plan)

Parameters:
buildConfiguration - - @NotNull

prepareConfigObject

void prepareConfigObject(@NotNull
                         BuildConfiguration buildConfiguration)
Do any preprocessing work before validation occurs. For repository, builder and web repository plugins this will only be called if the plugin is select by the user.

Parameters:
buildConfiguration - - @NotNull

validate

@NotNull
ErrorCollection validate(@NotNull
                                 BuildConfiguration buildConfiguration)
Validates the properties in the BuildConfiguration object. The name of the properties match those passed in through the form fragments in RenderableBuildConfiguration.getEditHtml(com.atlassian.bamboo.ww2.actions.build.admin.create.BuildConfiguration, com.atlassian.bamboo.plan.Plan) template.

Parameters:
buildConfiguration - - @NotNull
Returns:
ErrorCollection keyed by the field name. @NotNull


Copyright © 2011 Atlassian. All Rights Reserved.