public class ChainDependenciesExporterImpl extends Object implements ChainDependenciesExporter
Constructor and Description |
---|
ChainDependenciesExporterImpl() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
generateDataMap(ImmutableTopLevelPlan chain)
Export chain dependencies to a YAML-friendly format.
|
com.atlassian.bamboo.specs.api.model.plan.dependencies.DependenciesProperties |
importDependencies(Map<String,Object> dataMap)
Generate
DependenciesProperties from YAML-friendly map and validates YAML types and properties. |
@NotNull public Map<String,Object> generateDataMap(@NotNull ImmutableTopLevelPlan chain)
ChainDependenciesExporter
generateDataMap
in interface ChainDependenciesExporter
chain
- chain, for which dependencies should be exported@NotNull public com.atlassian.bamboo.specs.api.model.plan.dependencies.DependenciesProperties importDependencies(@NotNull Map<String,Object> dataMap) throws YamlValidationException, com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
ChainDependenciesExporter
DependenciesProperties
from YAML-friendly map and validates YAML types and properties.importDependencies
in interface ChainDependenciesExporter
YamlValidationException
com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.