Interface AssessmentSummary.Builder

  • Method Details

    • byCategory

      AssessmentSummary.Builder byCategory(Map<String,Integer> byCategory)

      Count of findings grouped by category.

      Parameters:
      byCategory - Count of findings grouped by category.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bySeverity

      AssessmentSummary.Builder bySeverity(Map<String,Integer> bySeverity)

      Count of findings grouped by severity.

      Parameters:
      bySeverity - Count of findings grouped by severity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • findingsCapped

      AssessmentSummary.Builder findingsCapped(Boolean findingsCapped)

      True when the assessment detected more findings than it stores. Resolve the reported findings and re-run the assessment to surface the remaining ones.

      Parameters:
      findingsCapped - True when the assessment detected more findings than it stores. Resolve the reported findings and re-run the assessment to surface the remaining ones.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hasBlockingFindings

      AssessmentSummary.Builder hasBlockingFindings(Boolean hasBlockingFindings)

      True when the assessment detected at least one ERROR-severity finding. ERROR findings block the migration until resolved.

      Parameters:
      hasBlockingFindings - True when the assessment detected at least one ERROR-severity finding. ERROR findings block the migration until resolved.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • totalFindings

      AssessmentSummary.Builder totalFindings(Integer totalFindings)

      The total number of findings detected by the assessment, including any findings beyond the stored-findings cap.

      Parameters:
      totalFindings - The total number of findings detected by the assessment, including any findings beyond the stored-findings cap.
      Returns:
      Returns a reference to this object so that method calls can be chained together.