Package com.atlassian.bamboo.v2.build
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.
-
Field Summary
Fields inherited from class com.atlassian.bamboo.v2.build.BaseBuildConfigurationAwarePlugin
moduleDescriptor, templateRenderer
-
Constructor Summary
-
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 class com.atlassian.bamboo.v2.build.BaseBuildConfigurationAwarePlugin
addDefaultValues, getEditHtml, getTemplateRenderer, getViewHtml, init, populateContextForEdit, populateContextForView, prepareConfigObject, setTemplateRenderer, validate
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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
-
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 interfaceConfigurablePlugin
- Parameters:
planKey
- key ofPlan
for which requirements has to be removed.buildConfiguration
- source of information for customizing build requirementsrequirementSet
- 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 interfaceConfigurablePlugin
- Parameters:
planKey
- key ofPlan
for which requirements has to be removed.buildConfiguration
- source of information for customizing build requirementsrequirementSet
- requirements to be customized
-