com.atlassian.bamboo.build.artifact
Class ArtifactHandlerForPlanConfigurator

java.lang.Object
  extended by com.atlassian.bamboo.v2.build.BaseBuildConfigurationAwarePlugin
      extended by com.atlassian.bamboo.v2.build.BaseConfigurablePlugin
          extended by com.atlassian.bamboo.build.artifact.ArtifactHandlerForPlanConfigurator
All Implemented Interfaces:
InitablePluginModule, BambooPluginModule, BuildConfigurationAwarePlugin, ConfigurablePlugin, BuildConfigurationUIPlugin, MiscellaneousBuildConfigurationPlugin, RenderableBuildConfiguration

public class ArtifactHandlerForPlanConfigurator
extends BaseConfigurablePlugin
implements MiscellaneousBuildConfigurationPlugin


Field Summary
 
Fields inherited from class com.atlassian.bamboo.v2.build.BaseBuildConfigurationAwarePlugin
moduleDescriptor, templateRenderer
 
Constructor Summary
ArtifactHandlerForPlanConfigurator()
           
 
Method Summary
 java.lang.String getEditHtml()
           
 java.lang.String getEditHtml(BuildConfiguration buildConfiguration, Plan plan)
          Returns HTML that represents the form fragment for editing the repository.
 MiscellaneousBuildConfigurationModuleDescriptor getModuleDescriptor()
           
 boolean isApplicableTo(Plan plan)
          Checks if the plugin is applicable to a plan.
 void setFeatureManager(FeatureManager featureManager)
           
 void setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
           
 
Methods inherited from class com.atlassian.bamboo.v2.build.BaseConfigurablePlugin
customizeBuildRequirements, customizeBuildRequirements, removeBuildRequirements, removeBuildRequirements
 
Methods inherited from class com.atlassian.bamboo.v2.build.BaseBuildConfigurationAwarePlugin
addDefaultValues, getViewHtml, init, isConfigurationMissing, 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.configuration.BuildConfigurationUIPlugin
isConfigurationMissing
 
Methods inherited from interface com.atlassian.bamboo.v2.build.BuildConfigurationAwarePlugin
addDefaultValues, prepareConfigObject, validate
 
Methods inherited from interface com.atlassian.bamboo.plugin.InitablePluginModule
init
 
Methods inherited from interface com.atlassian.bamboo.v2.build.RenderableBuildConfiguration
getViewHtml
 

Constructor Detail

ArtifactHandlerForPlanConfigurator

public ArtifactHandlerForPlanConfigurator()
Method Detail

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.

getEditHtml

@Nullable
public java.lang.String getEditHtml()

getModuleDescriptor

public MiscellaneousBuildConfigurationModuleDescriptor getModuleDescriptor()

setPluginAccessor

public void setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)

setFeatureManager

public void setFeatureManager(FeatureManager featureManager)


Copyright © 2014 Atlassian Software Systems Pty Ltd. All Rights Reserved.