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 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 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 @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 of Plan for which requirements has to be removed.
      buildConfiguration - source of information for customizing build requirements
      requirementSet - requirements to be customized