com.atlassian.bamboo.build.artifact
Class ArtifactHandlerForPlanConfigurator
java.lang.Object
com.atlassian.bamboo.v2.build.BaseBuildConfigurationAwarePlugin
com.atlassian.bamboo.v2.build.BaseConfigurablePlugin
com.atlassian.bamboo.build.artifact.ArtifactHandlerForPlanConfigurator
- All Implemented Interfaces:
- InitablePluginModule, BambooPluginModule, BuildConfigurationAwarePlugin, ConfigurablePlugin, BuildConfigurationUIPlugin, MiscellaneousBuildConfigurationPlugin, RenderableBuildConfiguration
public class ArtifactHandlerForPlanConfigurator
- extends BaseConfigurablePlugin
- implements MiscellaneousBuildConfigurationPlugin
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArtifactHandlerForPlanConfigurator
public ArtifactHandlerForPlanConfigurator()
isConfigurationMissing
public boolean isConfigurationMissing(@NotNull
BuildConfiguration buildConfiguration)
- Description copied from class:
BaseBuildConfigurationAwarePlugin
- By default we assume that empty values in BuildConfiguration are ok
- Specified by:
isConfigurationMissing
in interface BuildConfigurationUIPlugin
- Overrides:
isConfigurationMissing
in class BaseBuildConfigurationAwarePlugin
- Parameters:
buildConfiguration
- BuildConfiguration object
- Returns:
- always false
addDefaultValues
public void addDefaultValues(@NotNull
BuildConfiguration buildConfiguration)
- Description copied from interface:
BuildConfigurationAwarePlugin
- Extension point for adding default values to the form for
RenderableBuildConfiguration.getEditHtml(com.atlassian.bamboo.ww2.actions.build.admin.create.BuildConfiguration, com.atlassian.bamboo.plan.Plan)
- Specified by:
addDefaultValues
in interface BuildConfigurationAwarePlugin
- Overrides:
addDefaultValues
in class BaseBuildConfigurationAwarePlugin
- Parameters:
buildConfiguration
- - @NotNull
isApplicableTo
public boolean isApplicableTo(@NotNull
Plan plan)
- Description copied from interface:
BuildConfigurationUIPlugin
- Checks if the plugin is applicable to a plan. Typical implementation is to check plan's type (chain, build, job).
- Specified by:
isApplicableTo
in interface BuildConfigurationUIPlugin
- Parameters:
plan
- Plan to be verified
- Returns:
- true if particular configuration is applicable to input plan
getEditHtml
public java.lang.String getEditHtml(@NotNull
BuildConfiguration buildConfiguration,
@Nullable
Plan plan)
- Description copied from interface:
RenderableBuildConfiguration
- Returns HTML that represents the form fragment for editing the repository. No opening and closing form tags are
required.
- Specified by:
getEditHtml
in interface RenderableBuildConfiguration
- Overrides:
getEditHtml
in class BaseBuildConfigurationAwarePlugin
- Parameters:
buildConfiguration
- BuildConfiguration
for which edit HTML has to be rendered.plan
- Plan
for which edit HTML has to be rendered. May be null during creation phase of plan.
- Returns:
- HTML string. May be null.
getModuleDescriptor
public MiscellaneousBuildConfigurationModuleDescriptor getModuleDescriptor()
setPluginAccessor
public void setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
setFeatureManager
public void setFeatureManager(FeatureManager featureManager)
Copyright © 2012 Atlassian. All Rights Reserved.