public class MercurialChangeSet
extends hudson.scm.ChangeLogSet.Entry
The object should be treated like an immutable object. The setters are only provided for digester.
| Constructor and Description |
|---|
MercurialChangeSet() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAddedPaths()
Gets all the files that were added.
|
Collection<? extends hudson.scm.ChangeLogSet.AffectedFile> |
getAffectedFiles() |
Collection<String> |
getAffectedPaths() |
hudson.model.User |
getAuthor()
Gets the user who made this change.
|
String |
getDate()
Returns the date of the changeset.
|
List<String> |
getDeletedPaths()
Gets all the files that were deleted.
|
List<hudson.scm.EditType> |
getEditTypes()
Returns all three variations of
EditType. |
List<String> |
getModifiedPaths()
Gets all the files that were modified.
|
String |
getMsg()
Commit message.
|
String |
getNode()
Gets the globally unique changeset ID.
|
List<String> |
getPaths(hudson.scm.EditType kind) |
long |
getRev()
Gets repository revision number, which is local in the current repository.
|
String |
getRevision()
Gets the globally unique changeset ID.
|
String |
getShortNode()
Short node ID that hg CLI uses.
|
String |
getUser()
Deprecated.
|
boolean |
isMerge()
Checks if this is a merge changeset.
|
void |
setAdded(String list)
Deprecated.
|
void |
setAuthor(String author)
Deprecated.
|
void |
setDate(String date)
Deprecated.
|
void |
setDeleted(String list)
Deprecated.
|
void |
setFiles(String list)
Deprecated.
|
void |
setMsg(String msg)
Deprecated.
|
void |
setNode(String node)
Deprecated.
|
protected void |
setParent(hudson.scm.ChangeLogSet parent) |
void |
setParents(String parents)
Deprecated.
|
void |
setRev(long rev)
Deprecated.
|
void |
setUser(String author)
Deprecated.
|
@Exported public String getMsg()
getMsg in class hudson.scm.ChangeLogSet.Entry@Exported public hudson.model.User getAuthor()
getAuthor in class hudson.scm.ChangeLogSet.Entry@Exported public String getNode()
public String getShortNode()
getNode().@Exported public long getRev()
public String getRevision()
getNode(). This method is intended
for use via reflection by the email-ext plugin.@Exported public String getDate()
public Collection<String> getAffectedPaths()
getAffectedPaths in class hudson.scm.ChangeLogSet.Entrypublic Collection<? extends hudson.scm.ChangeLogSet.AffectedFile> getAffectedFiles()
getAffectedFiles in class hudson.scm.ChangeLogSet.Entry@Exported public List<String> getDeletedPaths()
@Exported public List<String> getModifiedPaths()
@Exported public boolean isMerge()
public List<hudson.scm.EditType> getEditTypes()
EditType.
Placed here to simplify access from views.protected void setParent(hudson.scm.ChangeLogSet parent)
setParent in class hudson.scm.ChangeLogSet.Entry@Deprecated public void setMsg(String msg)
@Deprecated public void setNode(String node)
@Deprecated public void setUser(String author)
@Deprecated public String getUser()
@Deprecated public void setAuthor(String author)
@Deprecated public void setRev(long rev)
@Deprecated public void setDate(String date)
@Deprecated public void setAdded(String list)
@Deprecated public void setDeleted(String list)
@Deprecated public void setFiles(String list)
@Deprecated public void setParents(String parents)
Copyright © 2004-2013. All Rights Reserved.