Package com.atlassian.bamboo.v2.build
Interface ConfigurablePlugin<T extends com.atlassian.plugin.ModuleDescriptor>
- All Superinterfaces:
BambooPluginModule
,BuildConfigurationAwarePlugin<T>
,InitablePluginModule<T>
,RenderableBuildConfiguration
- All Known Subinterfaces:
BitbucketDelegatedRepository
,BranchAwareRepository
,BranchDetectionCapableRepository
,BranchInformationProvider
,BranchingAwareRepository
,BranchMergingAwareRepository
,CachingAwareRepository
,CheckoutCustomRevisionDataAwareRepository
,CommitIsolationAwareRepository
,CommitUrlProvider
,CustomRevisionDataAwareRepository
,CustomSourceDirectoryAwareRepository
,CustomVariableProviderRepository
,DeploymentsAwareCommitUrlProvider
,EditActionAwareRepository
,IncludeExcludeAwareRepository
,InitialBuildAwareRepository
,MavenPomAccessorCapableRepository
,OnceOffCapableRepository
,PreparableRepository
,PushCapableRepository
,QuietPeriodAwareRepository
,Repository
,RepositoryEventAware
,RequirementsAwareRepository
,RequiresRepositoryData
,SelectableAuthenticationRepository
,StandaloneRepository
,StashRepository
,TaggingAwareRepository
,TestConnectionAwareRepository
,WebRepositoryViewer
- All Known Implementing Classes:
AbstractRepository
,AbstractStandaloneRepository
,AbstractWebRepositoryViewer
,ArtifactHandlerForPlanConfigurator
,AutomaticDependencyManagementPlugin
,BaseConfigurableBuildPlugin
,BaseConfigurablePlugin
,BitbucketRepository
,BrokenBuildPostProcessor
,BuildExpiryPerPlanPlugin
,BuildLabellerCustomBuildProcessor
,BuildMonitoringPerPlanPlugin
,CloverBuildProcessor
,DefaultWebRepositoryViewer
,FisheyeWebRepositoryViewer
,GitHubRepository
,GitRepository
,LegacyStashWebRepositoryViewer
,NoWebRepositoryViewer
,NullRepository
,StashRepositoryImpl
,StashWebRepositoryViewer
,SvnRepository
public interface ConfigurablePlugin<T extends com.atlassian.plugin.ModuleDescriptor>
extends BuildConfigurationAwarePlugin<T>
-
Method Summary
Modifier and TypeMethodDescriptionvoid
customizeBuildRequirements
(@NotNull PlanKey planKey, @NotNull BuildConfiguration buildConfiguration, @NotNull RequirementSet requirementSet) Extension point for adding/customizing requirements when editing a build's builder configuration.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.Methods inherited from interface com.atlassian.bamboo.v2.build.BuildConfigurationAwarePlugin
addDefaultValues, isConfigurationMissing, 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 Details
-
customizeBuildRequirements
void customizeBuildRequirements(@NotNull @NotNull PlanKey planKey, @NotNull @NotNull BuildConfiguration buildConfiguration, @NotNull @NotNull RequirementSet requirementSet) Extension point for adding/customizing requirements when editing a build's builder configuration.- Parameters:
planKey
- key ofPlan
for which requirements has to be removed.buildConfiguration
- source of information for customizing build requirementsrequirementSet
- requirements to be customized
-
removeBuildRequirements
void removeBuildRequirements(@NotNull @NotNull PlanKey planKey, @NotNull @NotNull BuildConfiguration buildConfiguration, @NotNull @NotNull RequirementSet requirementSet) Extension point for removing requirements when given plugin is excluded from build's builder configuration.- Parameters:
planKey
- key ofPlan
for which requirements has to be removed.buildConfiguration
- source of information for customizing build requirementsrequirementSet
- requirements to be customized
-