JavaSVN Home

org.tmatesoft.svn.core
Class SVNLogEntry

java.lang.Object
  extended byorg.tmatesoft.svn.core.SVNLogEntry

public class SVNLogEntry
extends Object

The SVNLogEntry class encapsulates such per revision information as: a revision number, the datestamp when the revision was committed, the author of the revision, a commit log message and all paths changed in that revision.

Version:
1.0
Author:
TMate Software Ltd.
See Also:
SVNLogEntryPath, ISVNLogEntryHandler, Examples

Constructor Summary
SVNLogEntry(Map changedPaths, long revision, String author, Date date, String message)
          Constructs an SVNLogEntry object.
 
Method Summary
 String getAuthor()
          Returns the author of the revision that this object represents.
 Map getChangedPaths()
          Gets a map containing all the paths that were changed in the revision that this object represents.
 Date getDate()
          Gets the datestamp when the revision was committed.
 String getMessage()
          Gets the log message attached to the revision.
 long getRevision()
          Gets the number of the revision that this object represents.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SVNLogEntry

public SVNLogEntry(Map changedPaths,
                   long revision,
                   String author,
                   Date date,
                   String message)
Constructs an SVNLogEntry object.

Parameters:
changedPaths - a map collection which keys are all the paths that were changed in revision, and values are SVNLogEntryPath representation objects
revision - a revision number
author - the author of revision
date - the datestamp when the revision was committed
message - an commit log message for revision
See Also:
SVNLogEntryPath
Method Detail

getChangedPaths

public Map getChangedPaths()
Gets a map containing all the paths that were changed in the revision that this object represents.

Returns:
a map which keys are all the paths that were changed and values are SVNLogEntryPath objects

getAuthor

public String getAuthor()
Returns the author of the revision that this object represents.

Returns:
the author of the revision

getDate

public Date getDate()
Gets the datestamp when the revision was committed.

Returns:
the moment in time when the revision was committed

getMessage

public String getMessage()
Gets the log message attached to the revision.

Returns:
the commit log message

getRevision

public long getRevision()
Gets the number of the revision that this object represents.

Returns:
a revision number

JavaSVN Home

Copyright © 2004-2006 TMate Software Ltd. All Rights Reserved.