Package org.tigris.subversion.javahl
Class LogMessage
java.lang.Object
org.tigris.subversion.javahl.LogMessage
- All Implemented Interfaces:
Serializable
This class describes a single subversion revision with log message,
author and date.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
The author of the commit.private ChangePath[]
The items changed by this commit (only set when SVNClientInterface.logMessages is used with discoverPaths true).private Date
The date of the commit.private String
The log message for the revision.private long
The number of the revision.private static final long
private long
The time of the commit measured in the number of microseconds since 00:00:00 January 1, 1970 UTC. -
Constructor Summary
ConstructorsConstructorDescriptionLogMessage
(ChangePath[] cp, long r, String a, long t, String m) This constructor is only called only from the thin wrapper.LogMessage
(ChangePath[] cp, long r, String a, Date d, String m) Deprecated.Use the constructor that takes the number of microseconds since 00:00:00 January 1, 1970 UTC -
Method Summary
Modifier and TypeMethodDescriptionReturns the author of the commitReturns the changes items by this commitgetDate()
Returns the date of the commitReturn the log message textReturns the revision as a Revision objectlong
Returns the revision as a long integerlong
Returns the time of the commitlong
Returns the time of the commit
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
message
The log message for the revision. -
timeMicros
private long timeMicrosThe time of the commit measured in the number of microseconds since 00:00:00 January 1, 1970 UTC. -
date
The date of the commit. -
revision
private long revisionThe number of the revision. -
author
The author of the commit. -
changedPaths
The items changed by this commit (only set when SVNClientInterface.logMessages is used with discoverPaths true).
-
-
Constructor Details
-
LogMessage
LogMessage(ChangePath[] cp, long r, String a, Date d, 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, String a, long t, 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 Details
-
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
Returns the date of the commit- Returns:
- the date of the commit
-
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
Returns the author of the commit- Returns:
- the author of the commit
-
getChangedPaths
Returns the changes items by this commit- Returns:
- the changes items by this commit
-