public class BuildDefinitionConverterImpl extends Object implements BuildDefinitionConverter
BuildDefinition
to and from an XMLConfiguration
BUILD_POLLING, BUILD_TRIGGER_IP, CLEAN_WORKING_DIRECTORY, DEPENDENT_WILL_BE_TRIGGERED_BY, DEPENDENT_WILL_TRIGGER, INHERIT_REPOSITORY, REPOSITORY_DEFINING_WORKING_DIRECTORY, SELECTED_BUILD_STRATEGY, SELECTED_BUILDER_KEY
Constructor and Description |
---|
BuildDefinitionConverterImpl(@NotNull com.atlassian.plugin.PluginAccessor pluginAccessor) |
Modifier and Type | Method and Description |
---|---|
@NotNull BuildDefinition |
copyConfigurationToDefinition(@NotNull org.apache.commons.configuration.HierarchicalConfiguration fromConfig,
@NotNull BuildDefinition buildDefinition)
Copies the
HierarchicalConfiguration items to the passed BuildDefinition object |
org.apache.commons.configuration.XMLConfiguration |
fromObject(@NotNull PartialBuildDefinition buildDefinition) |
List<BuildDefinitionTransformerModuleDescriptor> |
getTransformerDescriptors() |
static <T extends OptionallyConvertibleFromConfig> |
populate(@NotNull org.apache.commons.configuration.HierarchicalConfiguration fromConfig,
T optionallyConvertibleFromConfig) |
public BuildDefinitionConverterImpl(@NotNull @NotNull com.atlassian.plugin.PluginAccessor pluginAccessor)
public org.apache.commons.configuration.XMLConfiguration fromObject(@NotNull @NotNull PartialBuildDefinition buildDefinition)
fromObject
in interface BuildDefinitionConverter
@NotNull public @NotNull BuildDefinition copyConfigurationToDefinition(@NotNull @NotNull org.apache.commons.configuration.HierarchicalConfiguration fromConfig, @NotNull @NotNull BuildDefinition buildDefinition)
BuildDefinitionConverter
HierarchicalConfiguration
items to the passed BuildDefinition
objectcopyConfigurationToDefinition
in interface BuildDefinitionConverter
public List<BuildDefinitionTransformerModuleDescriptor> getTransformerDescriptors()
@Nullable public static <T extends OptionallyConvertibleFromConfig> T populate(@NotNull @NotNull org.apache.commons.configuration.HierarchicalConfiguration fromConfig, @NotNull T optionallyConvertibleFromConfig)
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.