Class BaseConfigurablePlugin

java.lang.Object
com.atlassian.bamboo.v2.build.BaseBuildConfigurationAwarePlugin
com.atlassian.bamboo.v2.build.BaseConfigurablePlugin
All Implemented Interfaces:
InitablePluginModule, BambooPluginModule, BuildConfigurationAwarePlugin, ConfigurablePlugin, RenderableBuildConfiguration
Direct Known Subclasses:
AbstractRepository, AbstractWebRepositoryViewer, ArtifactHandlerForPlanConfigurator, AutomaticDependencyManagementPlugin, BaseConfigurableBuildPlugin, BrokenBuildPostProcessor, BuildExpiryPerPlanPlugin, BuildMonitoringPerPlanPlugin

public abstract class BaseConfigurablePlugin extends BaseBuildConfigurationAwarePlugin implements ConfigurablePlugin
Skeleton class which should be extended by implementors of ConfigurablePlugin interface.
  • Constructor Details

    • BaseConfigurablePlugin

      public BaseConfigurablePlugin()
  • Method Details

    • customizeBuildRequirements

      public void customizeBuildRequirements(@NotNull @NotNull PlanKey planKey, @NotNull @NotNull BuildConfiguration buildConfiguration, @NotNull @NotNull RequirementSet requirementSet)
      Description copied from interface: ConfigurablePlugin
      Extension point for adding/customizing requirements when editing a build's builder configuration.
      Specified by:
      customizeBuildRequirements in interface ConfigurablePlugin
      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

      public void removeBuildRequirements(@NotNull @NotNull PlanKey planKey, @NotNull @NotNull BuildConfiguration buildConfiguration, @NotNull @NotNull RequirementSet requirementSet)
      Description copied from interface: ConfigurablePlugin
      Extension point for removing requirements when given plugin is excluded from build's builder configuration.
      Specified by:
      removeBuildRequirements in interface ConfigurablePlugin
      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