com.atlassian.bamboo.v2.build
Interface ConfigurablePlugin

All Superinterfaces:
BambooPluginModule, BuildConfigurationAwarePlugin, InitablePluginModule, RenderableBuildConfiguration
All Known Subinterfaces:
BranchAwareRepository, BranchDetectionCapableRepository, BranchingAwareRepository, BranchMergingAwareRepository, CachingAwareRepository, CommitIsolationAwareRepository, CommitUrlProvider, CustomRevisionDataAwareRepository, CustomVariableProviderRepository, IncludeExcludeAwareRepository, InitialBuildAwareRepository, MavenPomAccessorCapableRepository, PostConfigurableRepository, PushCapableRepository, QuietPeriodAwareRepository, Repository, RepositoryEventAware, RequirementsAwareRepository, SelectableAuthenticationRepository, StandaloneRepository, TaggingAwareRepository, WebRepositoryViewer
All Known Implementing Classes:
AbstractRepository, AbstractStandaloneRepository, AbstractWebRepositoryViewer, AutomaticDependencyManagementPlugin, BaseConfigurableBuildPlugin, BaseConfigurablePlugin, BitbucketRepository, BuildExpiryPerPlanPlugin, BuildLabeller, BuildMonitoringPerPlanPlugin, CloverBuildProcessor, CVSRepository, DefaultWebRepositoryViewer, FisheyeWebRepositoryViewer, HgRepository, HgWebRepositoryViewer, NoWebRepositoryViewer, NullRepository, PerforceRepository, 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 © 2012 Atlassian. All Rights Reserved.