public class BuildWarningsStashClientConverter extends Object
Constructor and Description |
---|
BuildWarningsStashClientConverter(AdministrationConfigurationAccessor administrationConfigurationAccessor,
com.atlassian.sal.api.message.I18nResolver i18nResolver) |
Modifier and Type | Method and Description |
---|---|
Optional<com.atlassian.stash.rest.client.api.entity.CodeAnnotation> |
generateCodeAnnotation(String reportKey,
WarningAnnotation warning) |
com.atlassian.stash.rest.client.api.entity.Report |
generateReport(String reportKey,
ImmutableChainResultsSummary resultsSummary,
BuildWarningSummary warningsSummary) |
String |
generateReportKey(PlanResultKey resultKey) |
@Inject public BuildWarningsStashClientConverter(AdministrationConfigurationAccessor administrationConfigurationAccessor, com.atlassian.sal.api.message.I18nResolver i18nResolver)
@NotNull public String generateReportKey(@NotNull PlanResultKey resultKey)
@NotNull public com.atlassian.stash.rest.client.api.entity.Report generateReport(@NotNull String reportKey, @NotNull ImmutableChainResultsSummary resultsSummary, @NotNull BuildWarningSummary warningsSummary)
@NotNull public Optional<com.atlassian.stash.rest.client.api.entity.CodeAnnotation> generateCodeAnnotation(@NotNull String reportKey, @NotNull WarningAnnotation warning)
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.