public class BambooYamlVersion1ConverterImpl extends Object implements BambooYamlVersion1Converter
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_SCRIPT_INTERPRETER
Default interpreter, if user provided none in YAML v1 document.
|
| Constructor and Description |
|---|
BambooYamlVersion1ConverterImpl(@NotNull I18nBeanFactory i18nBeanFactory) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull Map<String,Object> |
convertToYamlVersion2(@NotNull Map<String,Object> rawYaml1Structure)
Converts the given structure of a YAML document from version 1 to 2.
|
public static final String DEFAULT_SCRIPT_INTERPRETER
ALLOWED_SCRIPT_INTERPRETERS.@Inject
public BambooYamlVersion1ConverterImpl(@NotNull
@NotNull I18nBeanFactory i18nBeanFactory)
@NotNull public @NotNull Map<String,Object> convertToYamlVersion2(@NotNull @NotNull Map<String,Object> rawYaml1Structure) throws YamlSpecsValidationException
BambooYamlVersion1ConverterconvertToYamlVersion2 in interface BambooYamlVersion1ConverterrawYaml1Structure - structure of a YAML document in version 1.YamlSpecsValidationException - if the given YAML structure is invalidBambooYamlVersionCopyright © 2024 Atlassian Software Systems Pty Ltd. All rights reserved.