public class ArtifactHandlerForPlanConfigurator extends BaseConfigurablePlugin implements MiscellaneousPlanConfigurationPlugin, ImportExportAwarePlugin
moduleDescriptor, templateRenderer
Constructor and Description |
---|
ArtifactHandlerForPlanConfigurator() |
Modifier and Type | Method and Description |
---|---|
Set<String> |
getConfigurationKeys()
Return all property keys related to this plugin module which may exist in a plan's
BuildConfiguration . |
String |
getEditHtml() |
String |
getEditHtml(BuildConfiguration buildConfiguration,
Plan plan)
Returns HTML that represents the form fragment for editing the repository.
|
MiscellaneousBuildConfigurationModuleDescriptor |
getModuleDescriptor() |
boolean |
isApplicableTo(ImmutablePlan plan)
Checks if the plugin is applicable to a plan.
|
customizeBuildRequirements, removeBuildRequirements
addDefaultValues, getViewHtml, init, isConfigurationMissing, isConfigurationMissing, populateContextForEdit, populateContextForView, prepareConfigObject, setTemplateRenderer, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toSerializableMap
isApplicableTo, isConfigurationMissing, isConfigurationMissing
public boolean isApplicableTo(@NotNull ImmutablePlan plan)
PlanConfigurationUiPlugin
isApplicableTo
in interface PlanConfigurationUiPlugin
plan
- Plan to be verifiedpublic String getEditHtml(@NotNull BuildConfiguration buildConfiguration, @Nullable Plan plan)
RenderableBuildConfiguration
getEditHtml
in interface RenderableBuildConfiguration
getEditHtml
in class BaseBuildConfigurationAwarePlugin
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.@Nullable public String getEditHtml()
public MiscellaneousBuildConfigurationModuleDescriptor getModuleDescriptor()
@NotNull public Set<String> getConfigurationKeys()
ImportExportAwarePlugin
BuildConfiguration
.
The returned set may be immutable. If a plugin module doesn't have configuration, then an empty set should be
returned.getConfigurationKeys
in interface ImportExportAwarePlugin
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.