Interface BambooYamlVersion1Converter
- All Known Implementing Classes:
BambooYamlVersion1ConverterImpl
public interface BambooYamlVersion1Converter
Converter which translates Bamboo Specs YAML document from version 1 to 2.
- See Also:
-
Method Summary
-
Method Details
-
convertToYamlVersion2
@NotNull @NotNull Map<String,Object> convertToYamlVersion2(@NotNull @NotNull Map<String, Object> yaml1Structure) throws YamlSpecsValidationExceptionConverts the given structure of a YAML document from version 1 to 2.- Parameters:
yaml1Structure
- structure of a YAML document in version 1.- Returns:
- structure of a YAML document in version 2.
- Throws:
YamlSpecsValidationException
- if the given YAML structure is invalid- See Also:
-