public final class IdeCommitListener extends IdeListener implements GitReferenceListener
IdeCheckinEventRequest
and passes them to the
IdeUacaProxy
to be transferred into the User Activity Central
Application for further processing.
Commit listener listens to Git commit events only.
Data available in an IdeCheckinEventRequest
:
changesetIdInRcs
- current Git commit
identifier (40 hexadecimal characters),
for example "ffba951d35f710abee873db3f5547043aeb3fde9"
.
rcsServer
- see RcsServerDto
below.
IdeListener
for documentation of inherited data.
Data available in an RcsServerDto
:
url
- remote origin URL from the nearest Git repository,
for example https://github.com/perconik/perconik.git
. The nearest
Git repository is the first one found on path starting in project root,
going through workspace root down to the file system root.
typeUri
- always "git"
.
Constructor and Description |
---|
IdeCommitListener() |
Modifier and Type | Method and Description |
---|---|
void |
onRefsChanged(org.eclipse.jgit.events.RefsChangedEvent event) |
postUnregister, preRegister
postRegister, preUnregister
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
postRegister, postUnregister, preRegister, preUnregister