public class AutomaticDependencyManagementPlugin extends BaseConfigurablePlugin implements DependenciesPlanConfigurationPlugin, CustomBuildDefinitionGenerator, Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
CFG_AUTOMATIC_DEPENDENCY_MANAGEMENT |
static String |
CFG_AUTOMATIC_DEPENDENCY_MANAGEMENT_ENABLED |
static String |
CFG_AUTOMATIC_DEPENDENCY_MANAGEMENT_OBJECT |
static String |
CTX_AUTOMATIC_DEPENDENCY_MANAGEMENT_ENABLED |
static String |
CTX_DEPENDENCY_PROVIDER_JOB |
moduleDescriptor, templateRenderer| Constructor and Description |
|---|
AutomaticDependencyManagementPlugin() |
| Modifier and Type | Method and Description |
|---|---|
static @Nullable AutomaticDependencyManagementConfig |
getConfig(@NotNull BuildDefinition buildDefinition) |
static @Nullable AutomaticDependencyManagementConfig |
getConfig(@NotNull ImmutablePlan plan) |
@NotNull Set<String> |
getConfigurationKeys() |
boolean |
isApplicableTo(@NotNull ImmutablePlan plan)
Checks if the plugin is applicable to a plan.
|
void |
populateBuildDefinition(@NotNull ImmutablePlan plan,
@NotNull Map<String,Object> configObjects,
@NotNull BuildDefinition buildDefinition)
For Jobs it adds AutomaticDependencyManagementConfig object from a parent of delivered plan
|
protected void |
populateContextForEdit(@NotNull Map<String,Object> context,
@NotNull BuildConfiguration buildConfiguration,
@Nullable Plan plan) |
protected void |
populateContextForView(@NotNull Map<String,Object> context,
@NotNull Plan plan) |
customizeBuildRequirements, removeBuildRequirementsaddDefaultValues, getEditHtml, getTemplateRenderer, getViewHtml, init, prepareConfigObject, setTemplateRenderer, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddDefaultValues, isConfigurationMissing, prepareConfigObject, validateinitgetEditHtml, getViewHtmlpublic static final String CFG_AUTOMATIC_DEPENDENCY_MANAGEMENT_OBJECT
public static final String CFG_AUTOMATIC_DEPENDENCY_MANAGEMENT
public static final String CFG_AUTOMATIC_DEPENDENCY_MANAGEMENT_ENABLED
public static final String CTX_AUTOMATIC_DEPENDENCY_MANAGEMENT_ENABLED
public static final String CTX_DEPENDENCY_PROVIDER_JOB
public boolean isApplicableTo(@NotNull
@NotNull ImmutablePlan plan)
PlanConfigurationUiPluginisApplicableTo in interface PlanConfigurationUiPluginplan - Plan to be verifiedprotected void populateContextForView(@NotNull
@NotNull Map<String,Object> context,
@NotNull
@NotNull Plan plan)
populateContextForView in class BaseBuildConfigurationAwarePluginprotected void populateContextForEdit(@NotNull
@NotNull Map<String,Object> context,
@NotNull
@NotNull BuildConfiguration buildConfiguration,
@Nullable
@Nullable Plan plan)
populateContextForEdit in class BaseBuildConfigurationAwarePluginpublic void populateBuildDefinition(@NotNull
@NotNull ImmutablePlan plan,
@NotNull
@NotNull Map<String,Object> configObjects,
@NotNull
@NotNull BuildDefinition buildDefinition)
populateBuildDefinition in interface CustomBuildDefinitionGeneratorplan - Plan whose BuildDefinition is being populatedconfigObjects - - Map - string key, object value. A map to put custom objects into.buildDefinition - - the fully constructed BuildDefinition@Nullable public static @Nullable AutomaticDependencyManagementConfig getConfig(@NotNull @NotNull ImmutablePlan plan)
@Nullable public static @Nullable AutomaticDependencyManagementConfig getConfig(@NotNull @NotNull BuildDefinition buildDefinition)
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.