Class LogMessage

java.lang.Object
org.tigris.subversion.javahl.LogMessage
All Implemented Interfaces:
Serializable

public class LogMessage extends Object implements Serializable
This class describes a single subversion revision with log message, author and date.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • message

      private 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 Date date
      The date of the commit.
    • revision

      private long revision
      The number of the revision.
    • author

      private 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, String a, Date d, 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, String a, long t, 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 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 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 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