org.tmatesoft.svn.core
Class SVNLogEntry
- Serializable
public class SVNLogEntry
implements Serializable
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.
SVNLogEntry(Map changedPaths, long revision, String author, Date date, String message)- Constructs an SVNLogEntry object.
|
boolean | equals(Object obj)- Compares this object with another one.
|
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.
|
int | hashCode()- Calculates and returns a hash code for this object.
|
String | toString()- Gives a string representation of this oobject.
|
SVNLogEntry
public SVNLogEntry(Map changedPaths,
long revision,
String author,
Date date,
String message) Constructs an SVNLogEntry object.
changedPaths - a map collection which keys are
all the paths that were changed in
revision, and values are
SVNLogEntryPath representation objectsrevision - a revision numberauthor - the author of revisiondate - the datestamp when the revision was committedmessage - an commit log message for revision
equals
public boolean equals(Object obj)
Compares this object with another one.
obj - an object to compare with
- true
if this object is the same as the
obj
argument
getAuthor
public String getAuthor()
Returns the author of the revision that this object represents.
- the author of the revision
getChangedPaths
public Map getChangedPaths()
Gets a map containing all the paths that were changed in the
revision that this object represents.
- a map which keys are all the paths
that were changed and values are
SVNLogEntryPath objects
getDate
public Date getDate()
Gets the datestamp when the revision was committed.
- the moment in time when the revision was committed
getMessage
public String getMessage()
Gets the log message attached to the revision.
getRevision
public long getRevision()
Gets the number of the revision that this object represents.
hashCode
public int hashCode()
Calculates and returns a hash code for this object.
toString
public String toString()
Gives a string representation of this oobject.
- a string representing this object
Copyright © 2004-2006 TMate Software Ltd. All Rights Reserved.