Class BuildWarningsStashClientConverter

java.lang.Object
com.atlassian.bamboo.plugins.stash.warning.BuildWarningsStashClientConverter

public class BuildWarningsStashClientConverter extends Object
Used to translate Bamboo internal classes representing build warnings to Stash Java Client model.
  • Constructor Details

    • BuildWarningsStashClientConverter

      @Inject public BuildWarningsStashClientConverter(AdministrationConfigurationAccessor administrationConfigurationAccessor, com.atlassian.sal.api.message.I18nResolver i18nResolver)
  • Method Details

    • generateReportKey

      @NotNull public @NotNull String generateReportKey(@NotNull @NotNull PlanResultKey resultKey)
    • 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)