public interface ChainDependenciesExporter
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 Map<String,Object> generateDataMap(@NotNull ImmutableTopLevelPlan chain)
chain
- chain, for which dependencies should be exported@NotNull com.atlassian.bamboo.specs.api.model.plan.dependencies.DependenciesProperties importDependencies(@NotNull Map<String,Object> dataMap) throws YamlValidationException, com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
DependenciesProperties
from YAML-friendly map and validates YAML types and properties.YamlValidationException
com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.