Class SetInsightReportRequest.Builder

java.lang.Object
com.atlassian.bitbucket.util.BuilderSupport
com.atlassian.bitbucket.codeinsights.AbstractInsightsBuilder
com.atlassian.bitbucket.codeinsights.report.SetInsightReportRequest.Builder
Enclosing class:
SetInsightReportRequest

public static final class SetInsightReportRequest.Builder extends AbstractInsightsBuilder
  • Constructor Details

    • Builder

      public Builder(@Nonnull com.atlassian.bitbucket.repository.Repository repository, @Nonnull String commitId, @Nonnull String key, @Nonnull String title)
      Create a builder with all the required fields.
      Parameters:
      repository - repository that the report belongs to
      commitId - the hash for the commit to associate with this report
      key - the key for the report to create. Cannot be blank and must be under 450 characters long
      title - the title for the report to create. Cannot be blank and must be under 450 characters long
      Throws:
      IllegalArgumentException - if any value does not pass validation. See message for details
  • Method Details