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()
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 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 String getEditHtml()
getModuleDescriptor
public MiscellaneousBuildConfigurationModuleDescriptor getModuleDescriptor()
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.