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 AutomaticDependencyManagementConfig |
getConfig(BuildDefinition buildDefinition) |
static AutomaticDependencyManagementConfig |
getConfig(ImmutablePlan plan) |
Set<String> |
getConfigurationKeys() |
boolean |
isApplicableTo(ImmutablePlan plan)
Checks if the plugin is applicable to a plan.
|
void |
populateBuildDefinition(ImmutablePlan plan,
Map<String,Object> configObjects,
BuildDefinition buildDefinition)
For Jobs it adds AutomaticDependencyManagementConfig object from a parent plan
|
protected void |
populateContextForEdit(Map<String,Object> context,
BuildConfiguration buildConfiguration,
Plan plan) |
protected void |
populateContextForView(Map<String,Object> context,
Plan plan) |
customizeBuildRequirements, removeBuildRequirementsaddDefaultValues, getEditHtml, getViewHtml, init, prepareConfigObject, setTemplateRenderer, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisApplicableToisConfigurationMissingaddDefaultValues, 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
ImmutablePlan plan)
PlanConfigurationUiPluginisApplicableTo in interface PlanConfigurationUiPluginplan - Plan to be verifiedprotected void populateContextForView(@NotNull
Map<String,Object> context,
@NotNull
Plan plan)
populateContextForView in class BaseBuildConfigurationAwarePluginprotected void populateContextForEdit(@NotNull
Map<String,Object> context,
@NotNull
BuildConfiguration buildConfiguration,
@Nullable
Plan plan)
populateContextForEdit in class BaseBuildConfigurationAwarePluginpublic void populateBuildDefinition(@NotNull
ImmutablePlan plan,
@NotNull
Map<String,Object> configObjects,
@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 AutomaticDependencyManagementConfig getConfig(@NotNull ImmutablePlan plan)
@Nullable public static AutomaticDependencyManagementConfig getConfig(@NotNull BuildDefinition buildDefinition)
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.