Package org.tigris.subversion.javahl
Class LogMessage
- java.lang.Object
-
- org.tigris.subversion.javahl.LogMessage
-
- All Implemented Interfaces:
java.io.Serializable
public class LogMessage extends java.lang.Object implements java.io.Serializable
This class describes a single subversion revision with log message, author and date.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
author
The author of the commit.private ChangePath[]
changedPaths
The items changed by this commit (only set when SVNClientInterface.logMessages is used with discoverPaths true).private java.util.Date
date
The date of the commit.private java.lang.String
message
The log message for the revision.private long
revision
The number of the revision.private static long
serialVersionUID
private long
timeMicros
The time of the commit measured in the number of microseconds since 00:00:00 January 1, 1970 UTC.
-
Constructor Summary
Constructors Constructor Description LogMessage(ChangePath[] cp, long r, java.lang.String a, long t, java.lang.String m)
This constructor is only called only from the thin wrapper.LogMessage(ChangePath[] cp, long r, java.lang.String a, java.util.Date d, java.lang.String m)
Deprecated.Use the constructor that takes the number of microseconds since 00:00:00 January 1, 1970 UTC
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAuthor()
Returns the author of the commitChangePath[]
getChangedPaths()
Returns the changes items by this commitjava.util.Date
getDate()
Returns the date of the commitjava.lang.String
getMessage()
Return the log message textRevision.Number
getRevision()
Returns the revision as a Revision objectlong
getRevisionNumber()
Returns the revision as a long integerlong
getTimeMicros()
Returns the time of the commitlong
getTimeMillis()
Returns the time of the commit
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
message
private java.lang.String message
The log message for the revision.
-
timeMicros
private long timeMicros
The time of the commit measured in the number of microseconds since 00:00:00 January 1, 1970 UTC.
-
date
private java.util.Date date
The date of the commit.
-
revision
private long revision
The number of the revision.
-
author
private java.lang.String author
The author of the commit.
-
changedPaths
private ChangePath[] changedPaths
The items changed by this commit (only set when SVNClientInterface.logMessages is used with discoverPaths true).
-
-
Constructor Detail
-
LogMessage
LogMessage(ChangePath[] cp, long r, java.lang.String a, java.util.Date d, java.lang.String m)
Deprecated.Use the constructor that takes the number of microseconds since 00:00:00 January 1, 1970 UTCThis constructor is the original constructor from Subversion 1.4 and older.- Parameters:
changedPaths
- the items changed by this commitrevision
- the number of the revisionauthor
- the author of the commitdate
- the date of the commitmessage
- the log message text
-
LogMessage
LogMessage(ChangePath[] cp, long r, java.lang.String a, long t, java.lang.String m)
This constructor is only called only from the thin wrapper.- Parameters:
changedPaths
- the items changed by this commitrevision
- the number of the revisionauthor
- the author of the committimeMicros
- the time of the commit measured in the number of microseconds since 00:00:00 January 1, 1970 UTCmessage
- the log message text- Since:
- 1.5
-
-
Method Detail
-
getMessage
public java.lang.String getMessage()
Return the log message text- Returns:
- the log message text
-
getTimeMicros
public long getTimeMicros()
Returns the time of the commit- Returns:
- the time of the commit measured in the number of microseconds since 00:00:00 January 1, 1970 UTC
- Since:
- 1.5
-
getTimeMillis
public long getTimeMillis()
Returns the time of the commit- Returns:
- the time of the commit measured in the number of milliseconds since 00:00:00 January 1, 1970 UTC
- Since:
- 1.5
-
getDate
public java.util.Date getDate()
Returns the date of the commit- Returns:
- the date of the commit
-
getRevision
public Revision.Number getRevision()
Returns the revision as a Revision object- Returns:
- the revision number as a Revision object
-
getRevisionNumber
public long getRevisionNumber()
Returns the revision as a long integer- Returns:
- the revision number as a long integer
-
getAuthor
public java.lang.String getAuthor()
Returns the author of the commit- Returns:
- the author of the commit
-
getChangedPaths
public ChangePath[] getChangedPaths()
Returns the changes items by this commit- Returns:
- the changes items by this commit
-
-