public class ChangeLogEntry
extends hudson.scm.ChangeLogSet.Entry
Constructor and Description |
---|
ChangeLogEntry(String path,
String revision,
String authorName,
String authorEmail,
String authorDate,
String committerName,
String committerEmail,
String committerDate,
String commitText,
List<hudson.plugins.gradle_repo.ChangeLogEntry.ModifiedFile> modifiedFiles)
Creates a new REpoChangeLogEntry object containing all the details about
a git commit.
|
Modifier and Type | Method and Description |
---|---|
List<hudson.plugins.gradle_repo.ChangeLogEntry.ModifiedFile> |
getAffectedFiles()
Returns a set of paths in the workspace that was
affected by this change.
|
Collection<String> |
getAffectedPaths() |
hudson.model.User |
getAuthor() |
String |
getAuthorDate()
Returns the date this commit was authored.
|
String |
getAuthorEmail()
Returns the author's email address.
|
String |
getAuthorName()
Returns the author's name.
|
String |
getCommitterDate()
Returns the date this patch was committed.
|
String |
getCommitterEmail()
Returns the committer's email address.
|
String |
getCommitterName()
Returns the committer's name.
|
String |
getCommitText()
Returns the commit message.
|
List<hudson.plugins.gradle_repo.ChangeLogEntry.ModifiedFile> |
getModifiedFiles()
Returns a list of files modified by this change.
|
String |
getMsg() |
String |
getPath()
Returns the client-side project path.
|
String |
getRevision()
Returns the SHA-1 revision.
|
void |
setParent(hudson.scm.ChangeLogSet parent) |
String |
toString()
Converts this ChangeLogEntry to a string for debugging.
|
public ChangeLogEntry(String path, String revision, String authorName, String authorEmail, String authorDate, String committerName, String committerEmail, String committerDate, String commitText, List<hudson.plugins.gradle_repo.ChangeLogEntry.ModifiedFile> modifiedFiles)
path
- The path to the project from the client-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 commitpublic String toString()
public String getPath()
public String getRevision()
public String getAuthorName()
public String getAuthorEmail()
public String getAuthorDate()
public String getCommitterName()
public String getCommitterEmail()
public String getCommitterDate()
public String getCommitText()
public List<hudson.plugins.gradle_repo.ChangeLogEntry.ModifiedFile> getModifiedFiles()
public List<hudson.plugins.gradle_repo.ChangeLogEntry.ModifiedFile> getAffectedFiles()
getAffectedFiles
in class hudson.scm.ChangeLogSet.Entry
public String getMsg()
getMsg
in class hudson.scm.ChangeLogSet.Entry
public hudson.model.User getAuthor()
getAuthor
in class hudson.scm.ChangeLogSet.Entry
public void setParent(hudson.scm.ChangeLogSet parent)
setParent
in class hudson.scm.ChangeLogSet.Entry
public Collection<String> getAffectedPaths()
getAffectedPaths
in class hudson.scm.ChangeLogSet.Entry
Copyright © 2016–2019. All rights reserved.