Class LinesOfCodeState

    • Constructor Detail

      • LinesOfCodeState

        public LinesOfCodeState​(java.lang.String pluginId,
                                java.lang.Integer count,
                                java.util.List<@Valid FileExtensionCount> fileExtensionCounts)
    • Method Detail

      • getCount

        public java.lang.Integer getCount()
      • getFileExtensionCounts

        public java.util.List<@Valid FileExtensionCount> getFileExtensionCounts()
      • 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
      • withPluginId

        public LinesOfCodeState withPluginId​(java.lang.String pluginId)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withCount

        public LinesOfCodeState withCount​(java.lang.Integer count)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withFileExtensionCounts

        public LinesOfCodeState withFileExtensionCounts​(java.util.List<@Valid FileExtensionCount> fileExtensionCounts)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).