Class BuildWarningsStashClientConverter
java.lang.Object
com.atlassian.bamboo.plugins.stash.warning.BuildWarningsStashClientConverter
Used to translate Bamboo internal classes representing build warnings to Stash Java Client model.
-
Constructor Summary
ConstructorDescriptionBuildWarningsStashClientConverter
(AdministrationConfigurationAccessor administrationConfigurationAccessor, com.atlassian.sal.api.message.I18nResolver i18nResolver) -
Method Summary
Modifier and TypeMethodDescription@NotNull Optional<com.atlassian.stash.rest.client.api.entity.CodeAnnotation>
generateCodeAnnotation
(@NotNull String reportKey, @NotNull WarningAnnotation warning) @NotNull com.atlassian.stash.rest.client.api.entity.Report
generateReport
(@NotNull String reportKey, @NotNull ImmutableChainResultsSummary resultsSummary, @NotNull BuildWarningSummary warningsSummary) @NotNull String
generateReportKey
(@NotNull PlanResultKey resultKey)
-
Constructor Details
-
BuildWarningsStashClientConverter
@Inject public BuildWarningsStashClientConverter(AdministrationConfigurationAccessor administrationConfigurationAccessor, com.atlassian.sal.api.message.I18nResolver i18nResolver)
-
-
Method Details
-
generateReportKey
-
generateReport
@NotNull public @NotNull com.atlassian.stash.rest.client.api.entity.Report generateReport(@NotNull @NotNull String reportKey, @NotNull @NotNull ImmutableChainResultsSummary resultsSummary, @NotNull @NotNull BuildWarningSummary warningsSummary) -
generateCodeAnnotation
@NotNull public @NotNull Optional<com.atlassian.stash.rest.client.api.entity.CodeAnnotation> generateCodeAnnotation(@NotNull @NotNull String reportKey, @NotNull @NotNull WarningAnnotation warning)
-