hudson.scm
Class SubversionChangeLogSet.LogEntry

java.lang.Object
  extended by hudson.scm.ChangeLogSet.Entry
      extended by hudson.scm.SubversionChangeLogSet.LogEntry
Enclosing class:
SubversionChangeLogSet

public static class SubversionChangeLogSet.LogEntry
extends hudson.scm.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
SubversionChangeLogSet.LogEntry()
           
 
Method Summary
 void addPath(SubversionChangeLogSet.Path p)
           
 java.util.Collection<SubversionChangeLogSet.Path> getAffectedFiles()
           
 java.util.Collection<java.lang.String> getAffectedPaths()
           
 hudson.model.User getAuthor()
           
 java.lang.String getDate()
           
 java.lang.String getMsg()
           
 SubversionChangeLogSet getParent()
          Gets the SubversionChangeLogSet to which this change set belongs.
 java.util.List<SubversionChangeLogSet.Path> getPaths()
          Gets the files that are changed in this commit.
 int getRevision()
          Gets the revision of the commit.
 java.lang.String getUser()
           
 void setDate(java.lang.String date)
           
 void setMsg(java.lang.String msg)
           
protected  void setParent(hudson.scm.ChangeLogSet changeLogSet)
           
 void setRevision(int revision)
           
 void setUser(java.lang.String author)
           
 
Methods inherited from class hudson.scm.ChangeLogSet.Entry
getMsgAnnotated, getMsgEscaped
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubversionChangeLogSet.LogEntry

public SubversionChangeLogSet.LogEntry()
Method Detail

getParent

public SubversionChangeLogSet getParent()
Gets the SubversionChangeLogSet to which this change set belongs.

Overrides:
getParent in class hudson.scm.ChangeLogSet.Entry

setParent

protected void setParent(hudson.scm.ChangeLogSet changeLogSet)
Overrides:
setParent in class hudson.scm.ChangeLogSet.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)

getAuthor

public hudson.model.User getAuthor()
Specified by:
getAuthor in class hudson.scm.ChangeLogSet.Entry

getAffectedPaths

public java.util.Collection<java.lang.String> getAffectedPaths()
Specified by:
getAffectedPaths in class hudson.scm.ChangeLogSet.Entry

setUser

public void setUser(java.lang.String author)

getUser

@Exported
public java.lang.String getUser()

getDate

@Exported
public java.lang.String getDate()

setDate

public void setDate(java.lang.String date)

getMsg

@Exported
public java.lang.String getMsg()
Specified by:
getMsg in class hudson.scm.ChangeLogSet.Entry

setMsg

public void setMsg(java.lang.String msg)

addPath

public void addPath(SubversionChangeLogSet.Path p)

getPaths

@Exported
public java.util.List<SubversionChangeLogSet.Path> getPaths()
Gets the files that are changed in this commit.

Returns:
can be empty but never null.

getAffectedFiles

public java.util.Collection<SubversionChangeLogSet.Path> getAffectedFiles()
Overrides:
getAffectedFiles in class hudson.scm.ChangeLogSet.Entry


Copyright © 2011. All Rights Reserved.