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
|
Constructor Summary |
GitChangeSet(java.util.List<java.lang.String> lines,
boolean authorOrCommitter)
|
| 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(java.util.List<java.lang.String> lines,
boolean authorOrCommitter)
getDate
@Exported
public java.lang.String getDate()
setParent
public void setParent(hudson.scm.ChangeLogSet parent)
- Overrides:
setParent in class hudson.scm.ChangeLogSet.Entry
getParentCommit
public java.lang.String getParentCommit()
getAffectedPaths
public java.util.Collection<java.lang.String> getAffectedPaths()
- Specified by:
getAffectedPaths in class hudson.scm.ChangeLogSet.Entry
getPaths
@Exported
public java.util.Collection<GitChangeSet.Path> getPaths()
- Gets the files that are changed in this commit.
- Returns:
- can be empty but never null.
getAffectedFiles
public java.util.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 java.lang.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 java.lang.String getMsg()
- Specified by:
getMsg in class hudson.scm.ChangeLogSet.Entry
getId
@Exported
public java.lang.String getId()
getRevision
public java.lang.String getRevision()
getComment
@Exported
public java.lang.String getComment()
getCommentAnnotated
public java.lang.String getCommentAnnotated()
- Gets the comment fully marked up by
ChangeLogAnnotator.
Copyright © 2010. All Rights Reserved.