Interface BambooYamlOverrider

All Known Implementing Classes:
BambooYamlOverriderImpl

public interface BambooYamlOverrider
  • Method Details

    • overrideMatchedBranch

      Map<String,Object> overrideMatchedBranch(@NotNull @NotNull Map<String,Object> rawYamlStructure, @NotNull @NotNull VcsBranchDefinition vcsBranchDefinition, @NotNull @NotNull RssExecutionOutputHandler stdout) throws YamlSpecsValidationException
      Handles the `branch-overrides` tag in YAML v2
      Parameters:
      rawYamlStructure - YAML structure with potential branch-override
      vcsBranchDefinition - The current branch we are evaluating YAML Specs
      stdout - 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