Package com.atlassian.bamboo.v2.build
Interface ConfigurablePlugin<T extends com.atlassian.plugin.ModuleDescriptor>
- All Superinterfaces:
BambooPluginModule
,BuildConfigurationAwarePlugin<T>
,InitablePluginModule<T>
,RenderableBuildConfiguration
- All Known Implementing Classes:
ArtifactHandlerForPlanConfigurator
,AutomaticDependencyManagementPlugin
,BaseConfigurableBuildPlugin
,BaseConfigurablePlugin
,BrokenBuildPostProcessor
,BuildExpiryPerPlanPlugin
,BuildLabellerCustomBuildProcessor
,BuildMonitoringPerPlanPlugin
,CloverBuildProcessor
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
-