JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.codegurureviewer.model

Class Metrics

    • Constructor Detail

      • Metrics

        public Metrics()
    • Method Detail

      • setMeteredLinesOfCodeCount

        public void setMeteredLinesOfCodeCount(Long meteredLinesOfCodeCount)

        MeteredLinesOfCodeCount is the number of lines of code in the repository where the code review happened. This does not include non-code lines such as comments and blank lines.

        Parameters:
        meteredLinesOfCodeCount - MeteredLinesOfCodeCount is the number of lines of code in the repository where the code review happened. This does not include non-code lines such as comments and blank lines.
      • getMeteredLinesOfCodeCount

        public Long getMeteredLinesOfCodeCount()

        MeteredLinesOfCodeCount is the number of lines of code in the repository where the code review happened. This does not include non-code lines such as comments and blank lines.

        Returns:
        MeteredLinesOfCodeCount is the number of lines of code in the repository where the code review happened. This does not include non-code lines such as comments and blank lines.
      • withMeteredLinesOfCodeCount

        public Metrics withMeteredLinesOfCodeCount(Long meteredLinesOfCodeCount)

        MeteredLinesOfCodeCount is the number of lines of code in the repository where the code review happened. This does not include non-code lines such as comments and blank lines.

        Parameters:
        meteredLinesOfCodeCount - MeteredLinesOfCodeCount is the number of lines of code in the repository where the code review happened. This does not include non-code lines such as comments and blank lines.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSuppressedLinesOfCodeCount

        public void setSuppressedLinesOfCodeCount(Long suppressedLinesOfCodeCount)

        SuppressedLinesOfCodeCount is the number of lines of code in the repository where the code review happened that CodeGuru Reviewer did not analyze. The lines suppressed in the analysis is based on the excludeFiles variable in the aws-codeguru-reviewer.yml file. This number does not include non-code lines such as comments and blank lines.

        Parameters:
        suppressedLinesOfCodeCount - SuppressedLinesOfCodeCount is the number of lines of code in the repository where the code review happened that CodeGuru Reviewer did not analyze. The lines suppressed in the analysis is based on the excludeFiles variable in the aws-codeguru-reviewer.yml file. This number does not include non-code lines such as comments and blank lines.
      • getSuppressedLinesOfCodeCount

        public Long getSuppressedLinesOfCodeCount()

        SuppressedLinesOfCodeCount is the number of lines of code in the repository where the code review happened that CodeGuru Reviewer did not analyze. The lines suppressed in the analysis is based on the excludeFiles variable in the aws-codeguru-reviewer.yml file. This number does not include non-code lines such as comments and blank lines.

        Returns:
        SuppressedLinesOfCodeCount is the number of lines of code in the repository where the code review happened that CodeGuru Reviewer did not analyze. The lines suppressed in the analysis is based on the excludeFiles variable in the aws-codeguru-reviewer.yml file. This number does not include non-code lines such as comments and blank lines.
      • withSuppressedLinesOfCodeCount

        public Metrics withSuppressedLinesOfCodeCount(Long suppressedLinesOfCodeCount)

        SuppressedLinesOfCodeCount is the number of lines of code in the repository where the code review happened that CodeGuru Reviewer did not analyze. The lines suppressed in the analysis is based on the excludeFiles variable in the aws-codeguru-reviewer.yml file. This number does not include non-code lines such as comments and blank lines.

        Parameters:
        suppressedLinesOfCodeCount - SuppressedLinesOfCodeCount is the number of lines of code in the repository where the code review happened that CodeGuru Reviewer did not analyze. The lines suppressed in the analysis is based on the excludeFiles variable in the aws-codeguru-reviewer.yml file. This number does not include non-code lines such as comments and blank lines.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setFindingsCount

        public void setFindingsCount(Long findingsCount)

        Total number of recommendations found in the code review.

        Parameters:
        findingsCount - Total number of recommendations found in the code review.
      • getFindingsCount

        public Long getFindingsCount()

        Total number of recommendations found in the code review.

        Returns:
        Total number of recommendations found in the code review.
      • withFindingsCount

        public Metrics withFindingsCount(Long findingsCount)

        Total number of recommendations found in the code review.

        Parameters:
        findingsCount - Total number of recommendations found in the code review.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /