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, BrokenBuildConfiguration, BrokenBuildPostProcessor, BuildExpiryPerPlanPlugin, BuildLabeller, BuildMonitoringPerPlanPlugin
public abstract class BaseConfigurablePlugin
- extends BaseBuildConfigurationAwarePlugin
- implements ConfigurablePlugin
Skeleton class which should be extended by implementors of ConfigurablePlugin interface.
Method Summary |
void |
customizeBuildRequirements(BuildConfiguration buildConfiguration,
RequirementSet requirementSet)
Deprecated. since 3.0 Use #customizeBuildRequirements(Plan, BuildConfiguration, RequirementSet) |
void |
customizeBuildRequirements(PlanKey planKey,
BuildConfiguration buildConfiguration,
RequirementSet requirementSet)
Extension point for adding/customizing requirements when editing a build's builder configuration. |
void |
removeBuildRequirements(BuildConfiguration buildConfiguration,
RequirementSet requirementSet)
Deprecated. since 3.0 Use #removeBuildRequirements(Plan, BuildConfiguration, RequirementSet) |
void |
removeBuildRequirements(PlanKey planKey,
BuildConfiguration buildConfiguration,
RequirementSet requirementSet)
Extension point for removing requirements when given plugin is excluded from build's builder configuration. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseConfigurablePlugin
public BaseConfigurablePlugin()
customizeBuildRequirements
public void customizeBuildRequirements(@NotNull
PlanKey planKey,
@NotNull
BuildConfiguration buildConfiguration,
@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 requirementsrequirementSet
- requirements to be customized
customizeBuildRequirements
@Deprecated
public void customizeBuildRequirements(@NotNull
BuildConfiguration buildConfiguration,
@NotNull
RequirementSet requirementSet)
- Deprecated. since 3.0 Use #customizeBuildRequirements(Plan, BuildConfiguration, RequirementSet)
removeBuildRequirements
public void removeBuildRequirements(@NotNull
PlanKey planKey,
@NotNull
BuildConfiguration buildConfiguration,
@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 requirementsrequirementSet
- requirements to be customized
removeBuildRequirements
@Deprecated
public void removeBuildRequirements(@NotNull
BuildConfiguration buildConfiguration,
@NotNull
RequirementSet requirementSet)
- Deprecated. since 3.0 Use #removeBuildRequirements(Plan, BuildConfiguration, RequirementSet)
Copyright © 2014 Atlassian Software Systems Pty Ltd. All Rights Reserved.