public class BambooYamlParserImpl extends Object implements BambooYamlParser
| Modifier and Type | Field and Description |
|---|---|
static Predicate<com.atlassian.plugin.ModuleDescriptor<TriggerActivator>> |
TRIGGER_MODULE_DESCRIPTORS_PREDICATE |
| Constructor and Description |
|---|
BambooYamlParserImpl(BambooYamlVersion1Converter bambooYamlVersion1Converter,
BambooYamlOverrider bambooYamlOverrider,
I18nBeanFactory i18nBeanFactory,
com.atlassian.plugin.PluginAccessor pluginAccessor,
TaskManager taskManager) |
public static final Predicate<com.atlassian.plugin.ModuleDescriptor<TriggerActivator>> TRIGGER_MODULE_DESCRIPTORS_PREDICATE
@Inject public BambooYamlParserImpl(BambooYamlVersion1Converter bambooYamlVersion1Converter, BambooYamlOverrider bambooYamlOverrider, I18nBeanFactory i18nBeanFactory, com.atlassian.plugin.PluginAccessor pluginAccessor, TaskManager taskManager)
@NotNull public BambooYamlPlanDefinition parsePlan(@NotNull Map<String,Object> rawYamlStructure, @NotNull BambooYamlVersion yamlVersion, @NotNull VcsRepositoryData repository, @NotNull RssExecutionOutputHandler stdout)
BambooYamlParserBambooYamlPlanDefinition based on the given YAML structure. This method will
run basic validation, e.g. that types in the YAML document match.parsePlan in interface BambooYamlParserrawYamlStructure - a single YAML document converted into a MapyamlVersion - YAML format versionrepository - the VCS where the YAML is fromstdout - output handler for logging execution information@NotNull public static BranchManagementConfiguration getDefaultBranchManagementSettings()
com.atlassian.bamboo.configuration.external.yaml.YamlV1ToSpecs#getDefaultPlanBranchManagement().@NotNull public BambooYamlDeploymentDefinition parseDeployment(@NotNull Map<String,Object> structure, @NotNull BambooYamlVersion yamlVersion, @NotNull VcsRepositoryData repository)
BambooYamlParserBambooYamlDeploymentDefinition based on the given YAML structure. This method will
run basic validation, e.g. that types in the YAML document match.parseDeployment in interface BambooYamlParserstructure - a single YAML document converted into a MapyamlVersion - YAML format version@NotNull public BambooYamlDeploymentPermissionsDefinition parseDeploymentPermissions(Map<String,Object> structure, BambooYamlVersion yamlVersion)
BambooYamlParserBambooYamlDeploymentPermissionsDefinition based on the given YAML structure. This method will
run basic validation, e.g. that types in the YAML document match.parseDeploymentPermissions in interface BambooYamlParserstructure - a single YAML document converted into a MapyamlVersion - YAML format version@NotNull public BambooYamlPlanPermissionsDefinition parsePlanPermissions(Map<String,Object> structure, BambooYamlVersion yamlVersion) throws YamlSpecsValidationException
BambooYamlParserBambooYamlPlanPermissionsDefinition based on the given YAML structure. This method will
run basic validation, e.g. that types in the YAML document match.parsePlanPermissions in interface BambooYamlParserstructure - a single YAML document converted into a MapyamlVersion - YAML format versionYamlSpecsValidationException - if the passed YAML document is not a valid plan permissions definitionCopyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.