Class SonarQubeProject


  • public final class SonarQubeProject
    extends java.lang.Object
    • Constructor Detail

      • SonarQubeProject

        public SonarQubeProject​(java.lang.String key,
                                java.lang.String name,
                                java.lang.String url,
                                java.time.LocalDateTime lastCommitTimestamp,
                                java.util.List<SonarQubeMeasure> measures)
    • Method Detail

      • getKey

        public java.lang.String getKey()
      • getName

        public java.lang.String getName()
      • getUrl

        public java.lang.String getUrl()
      • getLastCommitTimestamp

        public java.time.LocalDateTime getLastCommitTimestamp()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • withKey

        public SonarQubeProject withKey​(java.lang.String key)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withName

        public SonarQubeProject withName​(java.lang.String name)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withUrl

        public SonarQubeProject withUrl​(java.lang.String url)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withLastCommitTimestamp

        public SonarQubeProject withLastCommitTimestamp​(java.time.LocalDateTime lastCommitTimestamp)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withMeasures

        public SonarQubeProject withMeasures​(java.util.List<@Valid SonarQubeMeasure> measures)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).