@Internal
public interface RawRepositoryConfigurationXmlConverter
Modifier and Type | Method and Description |
---|---|
String |
asXml(PartialVcsRepositoryData configuration)
Extract configuration as xml string from configuration UI object.
|
String |
asXml(RawRepositoryConfiguration configuration)
Extract configuration as xml.
|
String |
emptyXml()
Return repository configuration xml with no data.
|
RawRepositoryConfiguration |
fromEntity(RepositoryDataEntity entity)
Extract configuration from DB object.
|
RawRepositoryConfiguration |
fromVcsData(PartialVcsRepositoryData repositoryData)
Extract configuration from configuration UI object.
|
@NotNull RawRepositoryConfiguration fromVcsData(@NotNull PartialVcsRepositoryData repositoryData)
@NotNull RawRepositoryConfiguration fromEntity(@NotNull RepositoryDataEntity entity)
@NotNull String asXml(@NotNull PartialVcsRepositoryData configuration)
@NotNull String asXml(@NotNull RawRepositoryConfiguration configuration)
@NotNull String emptyXml()
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.