hudson.plugins.git
Class GitChangeSet
java.lang.Object
hudson.scm.ChangeLogSet.Entry
hudson.plugins.git.GitChangeSet
public class GitChangeSet
- extends hudson.scm.ChangeLogSet.Entry
Represents a change set.
- Author:
- Nigel Magnay
| Methods inherited from class hudson.scm.ChangeLogSet.Entry |
getMsgAnnotated, getMsgEscaped, getParent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GitChangeSet
public GitChangeSet(List<String> lines,
boolean authorOrCommitter)
getDate
@Exported
public String getDate()
setParent
public void setParent(hudson.scm.ChangeLogSet parent)
- Overrides:
setParent in class hudson.scm.ChangeLogSet.Entry
getParentCommit
public String getParentCommit()
getAffectedPaths
public Collection<String> getAffectedPaths()
- Specified by:
getAffectedPaths in class hudson.scm.ChangeLogSet.Entry
getPaths
@Exported
public Collection<GitChangeSet.Path> getPaths()
- Gets the files that are changed in this commit.
- Returns:
- can be empty but never null.
getAffectedFiles
public Collection<GitChangeSet.Path> getAffectedFiles()
- Overrides:
getAffectedFiles in class hudson.scm.ChangeLogSet.Entry
getAuthor
@Exported
public hudson.model.User getAuthor()
- Specified by:
getAuthor in class hudson.scm.ChangeLogSet.Entry
getAuthorName
public 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()).
getMsg
@Exported
public String getMsg()
- Specified by:
getMsg in class hudson.scm.ChangeLogSet.Entry
getId
@Exported
public String getId()
getRevision
public String getRevision()
getComment
@Exported
public String getComment()
getCommentAnnotated
public String getCommentAnnotated()
- Gets the comment fully marked up by
ChangeLogAnnotator.
Copyright © 2004-2011 Hudson. All Rights Reserved.