public interface BambooYamlParser
BambooYamlDefinition
Modifier and Type | Method and Description |
---|---|
@NotNull BambooYamlDeploymentDefinition |
parseDeployment(@NotNull Map<String,Object> yamlStructure,
@NotNull BambooYamlVersion yamlVersion,
@NotNull VcsRepositoryData repository)
Constructs an instance of
BambooYamlDeploymentDefinition based on the given YAML structure. |
@NotNull BambooYamlDeploymentPermissionsDefinition |
parseDeploymentPermissions(Map<String,Object> yamlStructure,
BambooYamlVersion yamlVersion)
Constructs an instance of
BambooYamlDeploymentPermissionsDefinition based on the given YAML structure. |
@NotNull BambooYamlPlanDefinition |
parsePlan(@NotNull Map<String,Object> yamlStructure,
@NotNull BambooYamlVersion yamlVersion,
@NotNull VcsRepositoryData repository,
@NotNull RssExecutionOutputHandler stdout)
Constructs an instance of
BambooYamlPlanDefinition based on the given YAML structure. |
@NotNull BambooYamlPlanPermissionsDefinition |
parsePlanPermissions(Map<String,Object> yamlStructure,
BambooYamlVersion yamlVersion)
Constructs an instance of
BambooYamlPlanPermissionsDefinition based on the given YAML structure. |
@NotNull @NotNull BambooYamlPlanDefinition parsePlan(@NotNull @NotNull Map<String,Object> yamlStructure, @NotNull @NotNull BambooYamlVersion yamlVersion, @NotNull @NotNull VcsRepositoryData repository, @NotNull @NotNull RssExecutionOutputHandler stdout) 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 versionrepository
- the VCS where the YAML is fromstdout
- output handler for logging execution informationYamlSpecsValidationException
- if the passed YAML document is not a valid plan definition@NotNull @NotNull BambooYamlDeploymentDefinition parseDeployment(@NotNull @NotNull Map<String,Object> yamlStructure, @NotNull @NotNull BambooYamlVersion yamlVersion, @NotNull @NotNull VcsRepositoryData repository) 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 @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 @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 © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.
View cookie preferences