public interface BambooYamlParser
BambooYamlDefinition
Modifier and Type | Method and Description |
---|---|
BambooYamlDeploymentDefinition |
parseDeployment(Map<String,Object> yamlStructure,
BambooYamlVersion yamlVersion)
Constructs an instance of
BambooYamlDeploymentDefinition based on the given YAML structure. |
BambooYamlDeploymentPermissionsDefinition |
parseDeploymentPermissions(Map<String,Object> yamlStructure,
BambooYamlVersion yamlVersion)
Constructs an instance of
BambooYamlDeploymentPermissionsDefinition based on the given YAML structure. |
BambooYamlPlanDefinition |
parsePlan(Map<String,Object> yamlStructure,
BambooYamlVersion yamlVersion)
Constructs an instance of
BambooYamlPlanDefinition based on the given YAML structure. |
BambooYamlPlanPermissionsDefinition |
parsePlanPermissions(Map<String,Object> yamlStructure,
BambooYamlVersion yamlVersion)
Constructs an instance of
BambooYamlPlanPermissionsDefinition based on the given YAML structure. |
@NotNull BambooYamlPlanDefinition parsePlan(@NotNull Map<String,Object> yamlStructure, @NotNull BambooYamlVersion yamlVersion) throws YamlSpecsValidationException
BambooYamlPlanDefinition
based on the given YAML structure. This method will
run basic validation, e.g. that types in the YAML document match.yamlStructure
- a single YAML document converted into a Map
yamlVersion
- YAML format versionYamlSpecsValidationException
- if the passed YAML document is not a valid plan definition@NotNull BambooYamlDeploymentDefinition parseDeployment(@NotNull Map<String,Object> yamlStructure, @NotNull BambooYamlVersion yamlVersion) throws YamlSpecsValidationException
BambooYamlDeploymentDefinition
based on the given YAML structure. This method will
run basic validation, e.g. that types in the YAML document match.yamlStructure
- a single YAML document converted into a Map
yamlVersion
- YAML format versionYamlSpecsValidationException
- if the passed YAML document is not a valid deployment project definition@NotNull BambooYamlDeploymentPermissionsDefinition parseDeploymentPermissions(Map<String,Object> yamlStructure, BambooYamlVersion yamlVersion) throws YamlSpecsValidationException
BambooYamlDeploymentPermissionsDefinition
based on the given YAML structure. This method will
run basic validation, e.g. that types in the YAML document match.yamlStructure
- a single YAML document converted into a Map
yamlVersion
- YAML format versionYamlSpecsValidationException
- if the passed YAML document is not a valid deployment project permissions definition@NotNull BambooYamlPlanPermissionsDefinition parsePlanPermissions(Map<String,Object> yamlStructure, BambooYamlVersion yamlVersion) throws YamlSpecsValidationException
BambooYamlPlanPermissionsDefinition
based on the given YAML structure. This method will
run basic validation, e.g. that types in the YAML document match.yamlStructure
- a single YAML document converted into a Map
yamlVersion
- YAML format versionYamlSpecsValidationException
- if the passed YAML document is not a valid plan permissions definitionCopyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.