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() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
convertToYamlVersion2(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
.@NotNull public Map<String,Object> convertToYamlVersion2(@NotNull Map<String,Object> rawYaml1Structure) throws YamlSpecsValidationException
BambooYamlVersion1Converter
convertToYamlVersion2
in interface BambooYamlVersion1Converter
rawYaml1Structure
- structure of a YAML document in version 1.YamlSpecsValidationException
- if the given YAML structure is invalidBambooYamlVersion
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.