public class CommitReceivedEvent extends RefEvent
Modifier and Type | Field and Description |
---|---|
org.eclipse.jgit.transport.ReceiveCommand |
command |
org.eclipse.jgit.revwalk.RevCommit |
commit |
com.google.gerrit.reviewdb.client.Project |
project |
String |
refName |
IdentifiedUser |
user |
eventCreatedOn, type
Constructor and Description |
---|
CommitReceivedEvent() |
CommitReceivedEvent(org.eclipse.jgit.transport.ReceiveCommand command,
com.google.gerrit.reviewdb.client.Project project,
String refName,
org.eclipse.jgit.revwalk.RevCommit commit,
IdentifiedUser user) |
Modifier and Type | Method and Description |
---|---|
com.google.gerrit.reviewdb.client.Project.NameKey |
getProjectNameKey() |
String |
getRefName() |
getBranchNameKey
public org.eclipse.jgit.transport.ReceiveCommand command
public com.google.gerrit.reviewdb.client.Project project
public String refName
public org.eclipse.jgit.revwalk.RevCommit commit
public IdentifiedUser user
public CommitReceivedEvent()
public CommitReceivedEvent(org.eclipse.jgit.transport.ReceiveCommand command, com.google.gerrit.reviewdb.client.Project project, String refName, org.eclipse.jgit.revwalk.RevCommit commit, IdentifiedUser user)
public com.google.gerrit.reviewdb.client.Project.NameKey getProjectNameKey()
getProjectNameKey
in class ProjectEvent
public String getRefName()
getRefName
in class RefEvent