Class Identity


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

      • Identity

        @ConstructorProperties({"names","emailAddress","commitCount","firstCommitTimestamp","lastCommitTimestamp"})
        public Identity​(java.util.List<java.lang.String> names,
                        java.lang.String emailAddress,
                        java.lang.Integer commitCount,
                        java.time.LocalDateTime firstCommitTimestamp,
                        java.time.LocalDateTime lastCommitTimestamp)
    • Method Detail

      • getNames

        public java.util.List<java.lang.String> getNames()
      • getEmailAddress

        public java.lang.String getEmailAddress()
      • getCommitCount

        public java.lang.Integer getCommitCount()
      • getFirstCommitTimestamp

        public java.time.LocalDateTime getFirstCommitTimestamp()
      • 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
      • withNames

        public Identity withNames​(java.util.List<java.lang.String> names)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withEmailAddress

        public Identity withEmailAddress​(java.lang.String emailAddress)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withCommitCount

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

        public Identity 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 Identity withLastCommitTimestamp​(java.time.LocalDateTime lastCommitTimestamp)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).