|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gitective.core.stat.UserCommitActivity
public class UserCommitActivity
Activity class for storing all the commits attributed to a specific user.
This class provides the IDs and times for all commits attributed.
| Field Summary | |
|---|---|
static int |
GROWTH
Default growth percentage of expected commits |
static int |
SIZE
Default size of expected commits |
| Constructor Summary | |
|---|---|
UserCommitActivity(String name,
String email)
Create user activity for given name and e-mail address |
|
| Method Summary | |
|---|---|
int |
getCount()
Get number of commits |
long |
getEarliest()
Get time of earliest commit |
String |
getEmail()
Get e-mail address of user |
org.eclipse.jgit.lib.ObjectId |
getFirst()
Get id of first commit |
org.eclipse.jgit.lib.ObjectId[] |
getIds()
Get commits as array of object ids |
org.eclipse.jgit.lib.ObjectId |
getLast()
Get id of latest commit |
long |
getLatest()
Get time of latest commit |
String |
getName()
Get name of user |
byte[][] |
getRawIds()
Get raw commits as array of byte arrays |
long[] |
getTimes()
Get commit times |
UserCommitActivity |
include(org.eclipse.jgit.revwalk.RevCommit commit,
org.eclipse.jgit.lib.PersonIdent user)
Include given commit in activity |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int SIZE
public static final int GROWTH
| Constructor Detail |
|---|
public UserCommitActivity(String name,
String email)
name - email - | Method Detail |
|---|
public String getName()
public String getEmail()
public UserCommitActivity include(org.eclipse.jgit.revwalk.RevCommit commit,
org.eclipse.jgit.lib.PersonIdent user)
commit - must be non-nulluser - must be non-null
public long[] getTimes()
public byte[][] getRawIds()
public org.eclipse.jgit.lib.ObjectId[] getIds()
public int getCount()
public org.eclipse.jgit.lib.ObjectId getFirst()
public org.eclipse.jgit.lib.ObjectId getLast()
public long getEarliest()
public long getLatest()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||