Package hudson.scm
Class SubversionChangeLogSet.LogEntry
- java.lang.Object
-
- hudson.scm.ChangeLogSet.Entry
-
- hudson.scm.SubversionChangeLogSet.LogEntry
-
- Enclosing class:
- SubversionChangeLogSet
public static class SubversionChangeLogSet.LogEntry extends ChangeLogSet.Entry
One commit.Setter methods are public only so that the objects can be constructed from Digester. So please consider this object read-only.
-
-
Constructor Summary
Constructors Constructor Description LogEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPath(SubversionChangeLogSet.Path p)
boolean
equals(Object o)
Collection<SubversionChangeLogSet.Path>
getAffectedFiles()
Collection<String>
getAffectedPaths()
User
getAuthor()
String
getCommitId()
String
getDate()
String
getMsg()
SubversionChangeLogSet
getParent()
Gets theSubversionChangeLogSet
to which this change set belongs.List<SubversionChangeLogSet.Path>
getPaths()
Gets the files that are changed in this commit.int
getRevision()
Gets the revision of the commit.long
getTimestamp()
String
getUser()
int
hashCode()
protected void
removePropertyOnlyPaths()
void
setDate(String date)
void
setMsg(String msg)
protected void
setParent(ChangeLogSet changeLogSet)
void
setRevision(int revision)
void
setUser(String author)
-
Methods inherited from class hudson.scm.ChangeLogSet.Entry
getMsgAnnotated, getMsgEscaped
-
-
-
-
Method Detail
-
getParent
public SubversionChangeLogSet getParent()
Gets theSubversionChangeLogSet
to which this change set belongs.- Overrides:
getParent
in classChangeLogSet.Entry
-
removePropertyOnlyPaths
protected void removePropertyOnlyPaths()
-
setParent
protected void setParent(ChangeLogSet changeLogSet)
- Overrides:
setParent
in classChangeLogSet.Entry
-
getRevision
@Exported public int getRevision()
Gets the revision of the commit.If the commit made the repository revision 1532, this method returns 1532.
-
setRevision
public void setRevision(int revision)
-
getCommitId
public String getCommitId()
- Overrides:
getCommitId
in classChangeLogSet.Entry
-
getTimestamp
public long getTimestamp()
- Overrides:
getTimestamp
in classChangeLogSet.Entry
-
getAuthor
public User getAuthor()
- Specified by:
getAuthor
in classChangeLogSet.Entry
-
getAffectedPaths
public Collection<String> getAffectedPaths()
- Specified by:
getAffectedPaths
in classChangeLogSet.Entry
-
setUser
public void setUser(String author)
-
getUser
@Exported public String getUser()
-
getDate
@Exported public String getDate()
-
setDate
public void setDate(String date)
-
getMsg
@Exported public String getMsg()
- Specified by:
getMsg
in classChangeLogSet.Entry
-
setMsg
public void setMsg(String msg)
-
addPath
public void addPath(SubversionChangeLogSet.Path p)
-
getPaths
@Exported public List<SubversionChangeLogSet.Path> getPaths()
Gets the files that are changed in this commit.- Returns:
- can be empty but never null.
-
getAffectedFiles
public Collection<SubversionChangeLogSet.Path> getAffectedFiles()
- Overrides:
getAffectedFiles
in classChangeLogSet.Entry
-
-