org.kohsuke.github
Class GitUser

java.lang.Object
  extended by org.kohsuke.github.GitUser
Direct Known Subclasses:
GHCommit.GHAuthor, GHCompare.User, GHPullRequestCommitDetail.Authorship

public class GitUser
extends Object

Represents a user in Git who authors/commits a commit. In contrast, GHUser is an user of GitHub. Because Git allows a person to use multiple e-mail addresses and names when creating a commit, there's generally no meaningful mapping between GHUser and GitUser.

Author:
Kohsuke Kawaguchi

Constructor Summary
GitUser()
           
 
Method Summary
 Date getDate()
          This field doesn't appear to be consistently available in all the situations where this class is used.
 String getEmail()
          E-mail address, such as "foo@example.com"
 String getName()
          Human readable name of the user, such as "Kohsuke Kawaguchi"
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GitUser

public GitUser()
Method Detail

getName

public String getName()
Human readable name of the user, such as "Kohsuke Kawaguchi"


getEmail

public String getEmail()
E-mail address, such as "foo@example.com"


getDate

public Date getDate()
This field doesn't appear to be consistently available in all the situations where this class is used.



Copyright © 2014. All rights reserved.