@ExperimentalApi
public interface VcsRepositoryViewerExporter
| Modifier and Type | Method and Description |
|---|---|
default @Nullable com.atlassian.bamboo.specs.api.builders.repository.viewer.VcsRepositoryViewer |
fromYaml(@NotNull Node node)
Read YAML node and return
VcsRepositoryViewer if found. |
@NotNull com.atlassian.bamboo.specs.api.builders.repository.viewer.VcsRepositoryViewer |
toSpecsEntity(@NotNull VcsRepositoryViewerDefinition viewerDefinition)
Converts the supplied viewer data and additional configuration to a viewer type-specific properties.
|
@NotNull Map<String,String> |
toViewerConfiguration(@NotNull com.atlassian.bamboo.specs.api.model.repository.viewer.VcsRepositoryViewerProperties entityProperties)
Converts data from importer to Bamboo repository viewer configuration.
|
default @Nullable Node |
toYaml(com.atlassian.bamboo.specs.api.model.repository.viewer.VcsRepositoryViewerProperties entityProperties)
Produce YAML node and return
VcsRepositoryViewerProperties configuration. |
@NotNull @NotNull Map<String,String> toViewerConfiguration(@NotNull @NotNull com.atlassian.bamboo.specs.api.model.repository.viewer.VcsRepositoryViewerProperties entityProperties) throws YamlValidationException
YamlValidationException@NotNull
@NotNull com.atlassian.bamboo.specs.api.builders.repository.viewer.VcsRepositoryViewer toSpecsEntity(@NotNull
@NotNull VcsRepositoryViewerDefinition viewerDefinition)
@Nullable default @Nullable Node toYaml(com.atlassian.bamboo.specs.api.model.repository.viewer.VcsRepositoryViewerProperties entityProperties) throws com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
VcsRepositoryViewerProperties configuration.entityProperties - settingsNode which contain representation of Bamboo Specs entity.com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException@Nullable
default @Nullable com.atlassian.bamboo.specs.api.builders.repository.viewer.VcsRepositoryViewer fromYaml(@NotNull
@NotNull Node node)
throws com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
VcsRepositoryViewer if found.node - yaml structure with VcsRepositoryViewer settingscom.atlassian.bamboo.specs.api.exceptions.PropertiesValidationExceptionCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.