public class NoConfigVcsRepositoryViewerExporter extends Object implements VcsRepositoryViewerExporter
Constructor and Description |
---|
NoConfigVcsRepositoryViewerExporter() |
Modifier and Type | Method and Description |
---|---|
@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.
|
@Nullable Node |
toYaml(com.atlassian.bamboo.specs.api.model.repository.viewer.VcsRepositoryViewerProperties entityProperties)
Produce YAML node and return
VcsRepositoryViewerProperties configuration. |
@NotNull public @NotNull Map<String,String> toViewerConfiguration(@NotNull @NotNull com.atlassian.bamboo.specs.api.model.repository.viewer.VcsRepositoryViewerProperties entityProperties)
VcsRepositoryViewerExporter
toViewerConfiguration
in interface VcsRepositoryViewerExporter
@NotNull public @NotNull com.atlassian.bamboo.specs.api.builders.repository.viewer.VcsRepositoryViewer toSpecsEntity(@NotNull @NotNull VcsRepositoryViewerDefinition viewerDefinition)
VcsRepositoryViewerExporter
toSpecsEntity
in interface VcsRepositoryViewerExporter
@Nullable public @Nullable Node toYaml(com.atlassian.bamboo.specs.api.model.repository.viewer.VcsRepositoryViewerProperties entityProperties) throws com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
VcsRepositoryViewerExporter
VcsRepositoryViewerProperties
configuration.toYaml
in interface VcsRepositoryViewerExporter
entityProperties
- settingsNode
which contain representation of Bamboo Specs entity.com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
@Nullable public @Nullable com.atlassian.bamboo.specs.api.builders.repository.viewer.VcsRepositoryViewer fromYaml(@NotNull @NotNull Node node) throws com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
VcsRepositoryViewerExporter
VcsRepositoryViewer
if found.fromYaml
in interface VcsRepositoryViewerExporter
node
- yaml structure with VcsRepositoryViewer settingscom.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.
View cookie preferences