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:
MiscellaneousPlanConfigurationPlugin,PlanConfigurationUiPlugin,InitablePluginModule,BambooPluginModule,BuildConfigurationAwarePlugin,ConfigurablePlugin,RenderableBuildConfiguration
public class ArtifactHandlerForPlanConfigurator
extends BaseConfigurablePlugin
implements MiscellaneousPlanConfigurationPlugin
-
Field Summary
FieldsFields inherited from class com.atlassian.bamboo.v2.build.BaseBuildConfigurationAwarePlugin
moduleDescriptor, templateRenderer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable StringgetEditHtml(@NotNull BuildConfiguration buildConfiguration, @Nullable Plan plan) Returns HTML that represents the form fragment for editing the repository.booleanisApplicableTo(@NotNull ImmutablePlan plan) Checks if the plugin is applicable to a plan.Methods inherited from class com.atlassian.bamboo.v2.build.BaseConfigurablePlugin
customizeBuildRequirements, removeBuildRequirementsMethods inherited from class com.atlassian.bamboo.v2.build.BaseBuildConfigurationAwarePlugin
addDefaultValues, getTemplateRenderer, getViewHtml, init, populateContextForEdit, populateContextForView, prepareConfigObject, setTemplateRenderer, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.bamboo.v2.build.BuildConfigurationAwarePlugin
addDefaultValues, isConfigurationMissing, prepareConfigObject, validateMethods inherited from interface com.atlassian.bamboo.plugin.InitablePluginModule
initMethods inherited from interface com.atlassian.bamboo.v2.build.RenderableBuildConfiguration
getViewHtml
-
Field Details
-
USE_CUSTOM_ARTIFACT_HANDLERS
- See Also:
-
-
Constructor Details
-
ArtifactHandlerForPlanConfigurator
public ArtifactHandlerForPlanConfigurator()
-
-
Method Details
-
isApplicableTo
Description copied from interface:PlanConfigurationUiPluginChecks if the plugin is applicable to a plan. Typical implementation is to check plan's type (chain, build, job).- Specified by:
isApplicableToin interfacePlanConfigurationUiPlugin- Parameters:
plan- Plan to be verified- Returns:
- true if particular configuration is applicable to input plan
-
getEditHtml
public String getEditHtml(@NotNull @NotNull BuildConfiguration buildConfiguration, @Nullable @Nullable Plan plan) Description copied from interface:RenderableBuildConfigurationReturns HTML that represents the form fragment for editing the repository. No opening and closing form tags are required.- Specified by:
getEditHtmlin interfaceRenderableBuildConfiguration- Overrides:
getEditHtmlin classBaseBuildConfigurationAwarePlugin- Parameters:
buildConfiguration-BuildConfigurationfor which edit HTML has to be rendered.plan-Planfor which edit HTML has to be rendered. May be null during creation phase of plan.- Returns:
- HTML string. May be null.
-
getEditHtml
-
getModuleDescriptor
-
getConfigurationKeys
-