public class ChainBranchExporterImpl extends Object implements ChainBranchExporter
Constructor and Description |
---|
ChainBranchExporterImpl() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
exportBranchIntegrationConfiguration(BranchIntegrationConfiguration branchIntegrationConfiguration,
PlanKey chainKey)
Exports branch merging configuration to a YAML-friendly format.
|
Map<String,Object> |
exportDefaultBranchConfiguration(ImmutableTopLevelPlan plan)
Exports default branch settings of ImmutableChain to a YAML-friendly format.
|
BranchMonitoringProperties |
importDefaultBranchConfiguration(Map<String,Object> configuration)
Generate
BranchMonitoringProperties from YAML-friendly map and validates YAML types and properties. |
@NotNull public Map<String,Object> exportBranchIntegrationConfiguration(@NotNull BranchIntegrationConfiguration branchIntegrationConfiguration, @NotNull PlanKey chainKey)
ChainBranchExporter
exportBranchIntegrationConfiguration
in interface ChainBranchExporter
branchIntegrationConfiguration
- to be exportedchainKey
- of chain being exportedBranchIntegrationConfiguration
@NotNull public Map<String,Object> exportDefaultBranchConfiguration(@NotNull ImmutableTopLevelPlan plan)
ChainBranchExporter
exportDefaultBranchConfiguration
in interface ChainBranchExporter
@NotNull public BranchMonitoringProperties importDefaultBranchConfiguration(@NotNull Map<String,Object> configuration) throws YamlValidationException, PropertiesValidationException
ChainBranchExporter
BranchMonitoringProperties
from YAML-friendly map and validates YAML types and properties.importDefaultBranchConfiguration
in interface ChainBranchExporter
YamlValidationException
PropertiesValidationException
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.