public class GitChangeSet
extends hudson.scm.ChangeLogSet.Entry
| Modifier and Type | Class and Description |
|---|---|
static class |
GitChangeSet.Path |
| Constructor and Description |
|---|
GitChangeSet(List<String> lines,
boolean authorOrCommitter) |
| Modifier and Type | Method and Description |
|---|---|
Collection<GitChangeSet.Path> |
getAffectedFiles() |
Collection<String> |
getAffectedPaths() |
hudson.model.User |
getAuthor() |
String |
getAuthorName()
Gets the author name for this changeset - note that this is mainly here
so that we can test authorOrCommitter without needing a fully instantiated
Hudson (which is needed for User.get in getAuthor()).
|
String |
getComment() |
String |
getCommentAnnotated()
Gets the comment fully marked up by
ChangeLogAnnotator. |
String |
getCurrentRevision() |
String |
getDate() |
String |
getId() |
String |
getMsg() |
String |
getParentCommit() |
Collection<GitChangeSet.Path> |
getPaths()
Gets the files that are changed in this commit.
|
String |
getRevision()
Deprecated.
|
String |
getUser() |
void |
setParent(hudson.scm.ChangeLogSet parent) |
@Exported public String getDate()
public void setParent(hudson.scm.ChangeLogSet parent)
setParent in class hudson.scm.ChangeLogSet.Entrypublic String getParentCommit()
public Collection<String> getAffectedPaths()
@Exported public Collection<GitChangeSet.Path> getPaths()
public Collection<GitChangeSet.Path> getAffectedFiles()
getAffectedFiles in class hudson.scm.ChangeLogSet.Entry@Exported public hudson.model.User getAuthor()
public String getAuthorName()
public String getUser()
@Exported public String getMsg()
@Exported public String getId()
public String getRevision()
getCurrentRevision()public String getCurrentRevision()
getCurrentRevision in class hudson.scm.ChangeLogSet.Entry@Exported public String getComment()
public String getCommentAnnotated()
ChangeLogAnnotator.Copyright © 2004-2015 Hudson. All Rights Reserved.