|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jgit.lib.PersonIdent
public class PersonIdent
A combination of a person identity and time in Git. Git combines Name + email + time + time zone to specify who wrote or committed something.
| Constructor Summary | |
|---|---|
PersonIdent(PersonIdent pi)
Copy a PersonIdent. |
|
PersonIdent(PersonIdent pi,
Date aWhen)
Copy a PersonIdent, but alter the clone's time stamp |
|
PersonIdent(PersonIdent pi,
Date when,
TimeZone tz)
Copy a PersonIdent, but alter the clone's time stamp |
|
PersonIdent(PersonIdent pi,
long aWhen,
int aTZ)
Copy a PersonIdent, but alter the clone's time stamp |
|
PersonIdent(Repository repo)
Creates new PersonIdent from config info in repository, with current time. |
|
PersonIdent(String aName,
String aEmailAddress)
Construct a new PersonIdent with current time. |
|
PersonIdent(String aName,
String aEmailAddress,
Date aWhen,
TimeZone aTZ)
Construct a PersonIdent from simple data |
|
PersonIdent(String aName,
String aEmailAddress,
long aWhen,
int aTZ)
Construct a PersonIdent |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
String |
getEmailAddress()
|
String |
getName()
|
TimeZone |
getTimeZone()
|
int |
getTimeZoneOffset()
|
Date |
getWhen()
|
int |
hashCode()
|
String |
toExternalString()
Format for Git storage. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PersonIdent(Repository repo)
repo - public PersonIdent(PersonIdent pi)
PersonIdent.
pi - Original PersonIdent
public PersonIdent(String aName,
String aEmailAddress)
PersonIdent with current time.
aName - aEmailAddress -
public PersonIdent(PersonIdent pi,
Date when,
TimeZone tz)
pi - original PersonIdentwhen - local timetz - time zone
public PersonIdent(PersonIdent pi,
Date aWhen)
PersonIdent, but alter the clone's time stamp
pi - original PersonIdentaWhen - local time
public PersonIdent(String aName,
String aEmailAddress,
Date aWhen,
TimeZone aTZ)
aName - aEmailAddress - aWhen - local time stampaTZ - time zone
public PersonIdent(String aName,
String aEmailAddress,
long aWhen,
int aTZ)
PersonIdent
aName - aEmailAddress - aWhen - local time stampaTZ - time zone
public PersonIdent(PersonIdent pi,
long aWhen,
int aTZ)
pi - original PersonIdentaWhen - local time stampaTZ - time zone| Method Detail |
|---|
public String getName()
public String getEmailAddress()
public Date getWhen()
public TimeZone getTimeZone()
public int getTimeZoneOffset()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object o)
equals in class Objectpublic String toExternalString()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||