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:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private java.lang.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 java.util.Date
    The date of the commit.
    private java.lang.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

    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

    Modifier and Type
    Method
    Description
    java.lang.String
    Returns the author of the commit
    Returns the changes items by this commit
    java.util.Date
    Returns the date of the commit
    java.lang.String
    Return the log message text
    Returns the revision as a Revision object
    long
    Returns the revision as a long integer
    long
    Returns the time of the commit
    long
    Returns the time of the commit

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • 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 Details

    • 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 UTC
      This constructor is the original constructor from Subversion 1.4 and older.
      Parameters:
      changedPaths - the items changed by this commit
      revision - the number of the revision
      author - the author of the commit
      date - the date of the commit
      message - 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 commit
      revision - the number of the revision
      author - the author of the commit
      timeMicros - the time of the commit measured in the number of microseconds since 00:00:00 January 1, 1970 UTC
      message - the log message text
      Since:
      1.5
  • Method Details

    • 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