Class UserInfo

    • Method Detail

      • name

        public final String name()

        The name of the user who made the specified commit.

        Returns:
        The name of the user who made the specified commit.
      • email

        public final String email()

        The email address associated with the user who made the commit, if any.

        Returns:
        The email address associated with the user who made the commit, if any.
      • date

        public final String date()

        The date when the specified commit was commited, in timestamp format with GMT offset.

        Returns:
        The date when the specified commit was commited, in timestamp format with GMT offset.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final 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
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)