public class BambooYamlOverriderImpl extends Object implements BambooYamlOverrider
Modifier and Type | Field and Description |
---|---|
static com.google.common.collect.ImmutableList<String> |
invalidKeys |
static com.google.common.collect.ImmutableList<String> |
validKeys |
Constructor and Description |
---|
BambooYamlOverriderImpl() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
overrideMatchedBranch(Map<String,Object> rawYamlStructure,
VcsBranchDefinition vcsBranchDefinition,
RssExecutionOutputHandler stdout)
Handles the `branch-overrides` tag in YAML v2
|
public static final com.google.common.collect.ImmutableList<String> validKeys
public static final com.google.common.collect.ImmutableList<String> invalidKeys
public Map<String,Object> overrideMatchedBranch(@NotNull Map<String,Object> rawYamlStructure, @NotNull VcsBranchDefinition vcsBranchDefinition, @NotNull RssExecutionOutputHandler stdout) throws YamlSpecsValidationException
BambooYamlOverrider
overrideMatchedBranch
in interface BambooYamlOverrider
rawYamlStructure
- YAML structure with potential branch-overridevcsBranchDefinition
- The current branch we are evaluating YAML Specsstdout
- output handler for logging execution informationYamlSpecsValidationException
- if there are invalid structures in YAMLCopyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.