public class UserInfo
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Information about the user who made a specified commit.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
dateValue
The date when the specified commit was pushed to the repository.
|
private java.lang.String |
email
The email address associated with the user who made the commit, if any.
|
private java.lang.String |
name
The name of the user who made the specified commit.
|
Constructor and Description |
---|
UserInfo() |
Modifier and Type | Method and Description |
---|---|
UserInfo |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDate()
The date when the specified commit was pushed to the repository.
|
java.lang.String |
getEmail()
The email address associated with the user who made the commit, if any.
|
java.lang.String |
getName()
The name of the user who made the specified commit.
|
int |
hashCode() |
void |
setDate(java.lang.String dateValue)
The date when the specified commit was pushed to the repository.
|
void |
setEmail(java.lang.String email)
The email address associated with the user who made the commit, if any.
|
void |
setName(java.lang.String name)
The name of the user who made the specified commit.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UserInfo |
withDate(java.lang.String dateValue)
The date when the specified commit was pushed to the repository.
|
UserInfo |
withEmail(java.lang.String email)
The email address associated with the user who made the commit, if any.
|
UserInfo |
withName(java.lang.String name)
The name of the user who made the specified commit.
|
private java.lang.String name
The name of the user who made the specified commit.
private java.lang.String email
The email address associated with the user who made the commit, if any.
private java.lang.String dateValue
The date when the specified commit was pushed to the repository.
public void setName(java.lang.String name)
The name of the user who made the specified commit.
name
- The name of the user who made the specified commit.public java.lang.String getName()
The name of the user who made the specified commit.
public UserInfo withName(java.lang.String name)
The name of the user who made the specified commit.
name
- The name of the user who made the specified commit.public void setEmail(java.lang.String email)
The email address associated with the user who made the commit, if any.
email
- The email address associated with the user who made the commit, if
any.public java.lang.String getEmail()
The email address associated with the user who made the commit, if any.
public UserInfo withEmail(java.lang.String email)
The email address associated with the user who made the commit, if any.
email
- The email address associated with the user who made the commit, if
any.public void setDate(java.lang.String dateValue)
The date when the specified commit was pushed to the repository.
dateValue
- The date when the specified commit was pushed to the repository.public java.lang.String getDate()
The date when the specified commit was pushed to the repository.
public UserInfo withDate(java.lang.String dateValue)
The date when the specified commit was pushed to the repository.
dateValue
- The date when the specified commit was pushed to the repository.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public UserInfo clone()
clone
in class java.lang.Object