Interface BambooYamlOverrider
- All Known Implementing Classes:
BambooYamlOverriderImpl
public interface BambooYamlOverrider
-
Method Summary
Modifier and TypeMethodDescriptionoverrideMatchedBranch
(@NotNull Map<String, Object> rawYamlStructure, @NotNull VcsBranchDefinition vcsBranchDefinition, @NotNull RssExecutionOutputHandler stdout) Handles the `branch-overrides` tag in YAML v2
-
Method Details
-
overrideMatchedBranch
Map<String,Object> overrideMatchedBranch(@NotNull @NotNull Map<String, Object> rawYamlStructure, @NotNull @NotNull VcsBranchDefinition vcsBranchDefinition, @NotNull @NotNull RssExecutionOutputHandler stdout) throws YamlSpecsValidationExceptionHandles the `branch-overrides` tag in YAML v2- 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
-