|
||||||||||
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 PersonIdent
when
- local timetz
- time zonepublic PersonIdent(PersonIdent pi, Date aWhen)
PersonIdent
, but alter the clone's time stamp
pi
- original PersonIdent
aWhen
- local timepublic PersonIdent(String aName, String aEmailAddress, Date aWhen, TimeZone aTZ)
aName
- aEmailAddress
- aWhen
- local time stampaTZ
- time zonepublic PersonIdent(PersonIdent pi, long aWhen, int aTZ)
pi
- original PersonIdent
aWhen
- local time stampaTZ
- time zonepublic PersonIdent(String aName, String aEmailAddress, long aWhen, int aTZ)
PersonIdent
aName
- aEmailAddress
- aWhen
- local time stampaTZ
- time zoneMethod Detail |
---|
public String getName()
public String getEmailAddress()
public Date getWhen()
public TimeZone getTimeZone()
public int getTimeZoneOffset()
public int hashCode()
hashCode
in class Object
public boolean equals(Object o)
equals
in class Object
public 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 |