Class GitUser

    • Constructor Detail

      • GitUser

        public GitUser()
    • Method Detail

      • getName

        public String getName()
        Gets the git user name for an author or committer on a git commit.
        Returns:
        Human readable name of the user, such as "Kohsuke Kawaguchi"
      • getEmail

        public String getEmail()
        Gets the git email for an author or committer on a git commit.
        Returns:
        E-mail address, such as "foo@example.com"
      • getUsername

        @CheckForNull
        public String getUsername()
        Gets username. Note: it presents only in events.
        Returns:
        GitHub username
      • getDate

        public Date getDate()
        Gets date.
        Returns:
        Commit Date.