Class GitRepoState

    • Constructor Detail

      • GitRepoState

        public GitRepoState​(java.lang.String pluginId,
                            java.time.LocalDateTime firstCommitTimestamp,
                            java.time.LocalDateTime lastCommitTimestamp,
                            java.lang.Integer commitCount,
                            java.util.List<Identity> authors,
                            java.util.List<Identity> committers,
                            java.lang.Integer authorCount,
                            java.lang.Integer committerCount)
    • Method Detail

      • getFirstCommitTimestamp

        public java.time.LocalDateTime getFirstCommitTimestamp()
      • getLastCommitTimestamp

        public java.time.LocalDateTime getLastCommitTimestamp()
      • getCommitCount

        public java.lang.Integer getCommitCount()
      • getAuthors

        public java.util.List<Identity> getAuthors()
      • getCommitters

        public java.util.List<Identity> getCommitters()
      • getAuthorCount

        public java.lang.Integer getAuthorCount()
      • getCommitterCount

        public java.lang.Integer getCommitterCount()
      • 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 GitRepoState withPluginId​(java.lang.String pluginId)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withFirstCommitTimestamp

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

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

        public GitRepoState withCommitCount​(java.lang.Integer commitCount)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withAuthors

        public GitRepoState withAuthors​(java.util.List<Identity> authors)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withCommitters

        public GitRepoState withCommitters​(java.util.List<Identity> committers)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withAuthorCount

        public GitRepoState withAuthorCount​(java.lang.Integer authorCount)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withCommitterCount

        public GitRepoState withCommitterCount​(java.lang.Integer committerCount)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).