hudson.scm
Class SubversionReleaseChangeLogSet.LogEntry

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

public static class SubversionReleaseChangeLogSet.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
SubversionReleaseChangeLogSet.LogEntry()
           
 
Method Summary
 void addPath(SubversionReleaseChangeLogSet.Path p)
           
 java.util.Collection<java.lang.String> getAffectedPaths()
          Returns a set of paths in the workspace that was affected by this change.
 hudson.model.User getAuthor()
          The user who made this change.
 java.lang.String getDate()
           
 java.lang.String getMsg()
          Gets the "commit message".
 SubversionReleaseChangeLogSet getParent()
          Gets the SubversionReleaseChangeLogSet to which this change set belongs.
 java.util.List<SubversionReleaseChangeLogSet.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)
           
 void setParent(ChangeLogSet parent)
          Should be invoked before a ChangeLogSet is exposed to public.
 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

SubversionReleaseChangeLogSet.LogEntry

public SubversionReleaseChangeLogSet.LogEntry()
Method Detail

getParent

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

Overrides:
getParent in class 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()
Description copied from class: ChangeLogSet.Entry
The user who made this change.

Specified by:
getAuthor in class ChangeLogSet.Entry
Returns:
never null.

getAffectedPaths

public java.util.Collection<java.lang.String> getAffectedPaths()
Description copied from class: ChangeLogSet.Entry
Returns a set of paths in the workspace that was affected by this change.

Contains string like 'foo/bar/zot'. No leading/trailing '/', and separator must be normalized to '/'.

Specified by:
getAffectedPaths in class ChangeLogSet.Entry
Returns:
never null.

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()
Description copied from class: ChangeLogSet.Entry
Gets the "commit message".

The exact definition depends on the individual SCM implementation.

Specified by:
getMsg in class ChangeLogSet.Entry
Returns:
Can be empty but never null.

setMsg

public void setMsg(java.lang.String msg)

addPath

public void addPath(SubversionReleaseChangeLogSet.Path p)

getPaths

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

Returns:
can be empty but never null.

setParent

public void setParent(ChangeLogSet parent)
Description copied from class: ChangeLogSet.Entry
Should be invoked before a ChangeLogSet is exposed to public.

Overrides:
setParent in class ChangeLogSet.Entry


Copyright © 2009. All Rights Reserved.