com.atlassian.bamboo.v2.build
Interface ConfigurablePlugin

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

public interface ConfigurablePlugin
extends BuildConfigurationAwarePlugin, InitablePluginModule


Method Summary
 void customizeBuildRequirements(PlanKey planKey, BuildConfiguration buildConfiguration, RequirementSet requirementSet)
          Extension point for adding/customizing requirements when editing a build's builder configuration.
 void removeBuildRequirements(PlanKey planKey, BuildConfiguration buildConfiguration, RequirementSet requirementSet)
          Extension point for removing requirements when given plugin is excluded from build's builder configuration.
 
Methods inherited from interface com.atlassian.bamboo.v2.build.BuildConfigurationAwarePlugin
addDefaultValues, prepareConfigObject, validate
 
Methods inherited from interface com.atlassian.bamboo.plugin.InitablePluginModule
init
 
Methods inherited from interface com.atlassian.bamboo.v2.build.RenderableBuildConfiguration
getEditHtml, getViewHtml
 

Method Detail

customizeBuildRequirements

void customizeBuildRequirements(@NotNull
                                PlanKey planKey,
                                @NotNull
                                BuildConfiguration buildConfiguration,
                                @NotNull
                                RequirementSet requirementSet)
Extension point for adding/customizing requirements when editing a build's builder configuration.

Parameters:
planKey - key of Plan for which requirements has to be removed.
buildConfiguration - source of information for customizing build requirements
requirementSet - requirements to be customized

removeBuildRequirements

void removeBuildRequirements(@NotNull
                             PlanKey planKey,
                             @NotNull
                             BuildConfiguration buildConfiguration,
                             @NotNull
                             RequirementSet requirementSet)
Extension point for removing requirements when given plugin is excluded from build's builder configuration.

Parameters:
planKey - key of Plan for which requirements has to be removed.
buildConfiguration - source of information for customizing build requirements
requirementSet - requirements to be customized


Copyright © 2011 Atlassian. All Rights Reserved.