Class BambooYamlOverriderImpl
java.lang.Object
com.atlassian.bamboo.configuration.external.yaml.override.BambooYamlOverriderImpl
- All Implemented Interfaces:
BambooYamlOverrider
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionoverrideMatchedBranch
(@NotNull Map<String, Object> rawYamlStructure, @NotNull VcsBranchDefinition vcsBranchDefinition, @NotNull RssExecutionOutputHandler stdout) Handles the `branch-overrides` tag in YAML v2
-
Field Details
-
validKeys
-
invalidKeys
-
-
Constructor Details
-
BambooYamlOverriderImpl
public BambooYamlOverriderImpl()
-
-
Method Details
-
overrideMatchedBranch
public Map<String,Object> overrideMatchedBranch(@NotNull @NotNull Map<String, Object> rawYamlStructure, @NotNull @NotNull VcsBranchDefinition vcsBranchDefinition, @NotNull @NotNull RssExecutionOutputHandler stdout) throws YamlSpecsValidationExceptionDescription copied from interface:BambooYamlOverrider
Handles the `branch-overrides` tag in YAML v2- Specified by:
overrideMatchedBranch
in interfaceBambooYamlOverrider
- Parameters:
rawYamlStructure
- YAML structure with potential branch-overridevcsBranchDefinition
- The current branch we are evaluating YAML Specsstdout
- output handler for logging execution information- Returns:
- override version of the YAML on a given branch
- Throws:
YamlSpecsValidationException
- if there are invalid structures in YAML
-