Package hudson.plugins.repo
Class ChangeLogEntry
java.lang.Object
hudson.scm.ChangeLogSet.Entry
hudson.plugins.repo.ChangeLogEntry
A POJO containing information about a single change (git commit) in a git
repository. These objects are used to build the change log page.
-
Constructor Summary
ConstructorsConstructorDescriptionChangeLogEntry(String path, String serverPath, String revision, String authorName, String authorEmail, String authorDate, String committerName, String committerEmail, String committerDate, String commitText, List<hudson.plugins.repo.ChangeLogEntry.ModifiedFile> modifiedFiles) Creates a new REpoChangeLogEntry object containing all the details about a git commit. -
Method Summary
Modifier and TypeMethodDescriptionList<hudson.plugins.repo.ChangeLogEntry.ModifiedFile>Returns a set of paths in the workspace that was affected by this change.Returns the date this commit was authored.Returns the author's email address.Returns the author's name.Returns the date this patch was committed.Returns the committer's email address.Returns the committer's name.Returns the commit message.List<hudson.plugins.repo.ChangeLogEntry.ModifiedFile>Returns a list of files modified by this change.getMsg()getPath()Returns the client-side project path.Returns the SHA-1 revision.Returns the server-side project path.voidsetParent(ChangeLogSet parent) toString()Converts this ChangeLogEntry to a string for debugging.Methods inherited from class hudson.scm.ChangeLogSet.Entry
getCommitId, getMsgAnnotated, getMsgEscaped, getParent, getTimestamp
-
Constructor Details
-
ChangeLogEntry
public ChangeLogEntry(String path, String serverPath, String revision, String authorName, String authorEmail, String authorDate, String committerName, String committerEmail, String committerDate, String commitText, List<hudson.plugins.repo.ChangeLogEntry.ModifiedFile> modifiedFiles) Creates a new REpoChangeLogEntry object containing all the details about a git commit.- Parameters:
path- The path to the project from the client-sideserverPath- The path to the project on the server-siderevision- The SHA-1 revision of the projectauthorName- The name of the author of the commitauthorEmail- The author's email addressauthorDate- The author date stringcommitterName- The name of the committercommitterEmail- The committer's email addresscommitterDate- The date of the commitcommitText- The commit message textmodifiedFiles- A list of ModifiedFiles impacted by the commit
-
-
Method Details
-
toString
Converts this ChangeLogEntry to a string for debugging. -
getPath
Returns the client-side project path. -
getServerPath
Returns the server-side project path. -
getRevision
Returns the SHA-1 revision. -
getAuthorName
Returns the author's name. -
getAuthorEmail
Returns the author's email address. -
getAuthorDate
Returns the date this commit was authored. -
getCommitterName
Returns the committer's name. -
getCommitterEmail
Returns the committer's email address. -
getCommitterDate
Returns the date this patch was committed. -
getCommitText
Returns the commit message. -
getModifiedFiles
Returns a list of files modified by this change. -
getAffectedFiles
Returns a set of paths in the workspace that was affected by this change.- Overrides:
getAffectedFilesin classChangeLogSet.Entry
-
getMsg
- Specified by:
getMsgin classChangeLogSet.Entry
-
getAuthor
- Specified by:
getAuthorin classChangeLogSet.Entry
-
setParent
- Overrides:
setParentin classChangeLogSet.Entry
-
getAffectedPaths
- Specified by:
getAffectedPathsin classChangeLogSet.Entry
-