Interface IssueBuilder


public interface IssueBuilder
  • Method Details

    • build

      @Nonnull Issue build()
      Builds the issue
      Returns:
      the issue
    • descriptionI18nKey

      @Nonnull IssueBuilder descriptionI18nKey(@Nonnull String value)
      Parameters:
      value - the i18n key for the issue's description
      Returns:
      the builder
    • jsonMapper

      @Nonnull IssueBuilder jsonMapper(@Nullable JsonMapper value)
      Sets a custom helper class to convert alert details to and from JSON for alerts of this issue. This only needs to be set if the alert details cannot be processed by the default Jackson ObjectMapper. When set to null, the default Jackson ObjectMapper is used.
      Parameters:
      value - the i18n key for the issue's description
      Returns:
      the builder
    • severity

      @Nonnull IssueBuilder severity(@Nonnull Severity value)
      Parameters:
      value - the issue's severity
      Returns:
      the builder
    • summaryI18nKey

      @Nonnull IssueBuilder summaryI18nKey(@Nonnull String value)
      Parameters:
      value - the i18n key for the issue's summary
      Returns:
      the builder