public class UserInfo extends Object implements Serializable, Cloneable
Information about the user who made a specified commit.
Constructor and Description |
---|
UserInfo() |
Modifier and Type | Method and Description |
---|---|
UserInfo |
clone() |
boolean |
equals(Object obj) |
String |
getDate()
The date when the specified commit was pushed to the repository.
|
String |
getEmail()
The email address associated with the user who made the commit, if any.
|
String |
getName()
The name of the user who made the specified commit.
|
int |
hashCode() |
void |
setDate(String dateValue)
The date when the specified commit was pushed to the repository.
|
void |
setEmail(String email)
The email address associated with the user who made the commit, if any.
|
void |
setName(String name)
The name of the user who made the specified commit.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
UserInfo |
withDate(String dateValue)
The date when the specified commit was pushed to the repository.
|
UserInfo |
withEmail(String email)
The email address associated with the user who made the commit, if any.
|
UserInfo |
withName(String name)
The name of the user who made the specified commit.
|
public void setName(String name)
The name of the user who made the specified commit.
name
- The name of the user who made the specified commit.public String getName()
The name of the user who made the specified commit.
public UserInfo withName(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(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 String getEmail()
The email address associated with the user who made the commit, if any.
public UserInfo withEmail(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(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 String getDate()
The date when the specified commit was pushed to the repository.
public UserInfo withDate(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 String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.