Class CommitInfo

  • All Implemented Interfaces:
    java.io.Serializable

    public class CommitInfo
    extends java.lang.Object
    implements java.io.Serializable
    This class describes a item which will be committed.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.lang.String author
      the author of the revision
      (package private) java.util.Date date
      the date of the revision
      (package private) java.lang.String postCommitError
      post commit error (or NULL)
      (package private) java.lang.String reposRoot
      repos root (or NULL)
      (package private) long revision
      the revision committed
      private static long serialVersionUID  
    • Constructor Summary

      Constructors 
      Constructor Description
      CommitInfo​(long rev, java.lang.String d, java.lang.String a, java.lang.String pce, java.lang.String rr)
      This constructor will be only called from the jni code.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getAuthor()
      return the author of the commit
      java.util.Date getDate()
      return the date of the commit
      java.lang.String getPostCommitError()
      return any post commit error for the commit
      java.lang.String getReposRoot()
      return the repos root
      long getRevision()
      retrieve the revision of the commit
      • Methods inherited from class java.lang.Object

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

      • revision

        long revision
        the revision committed
      • date

        java.util.Date date
        the date of the revision
      • author

        java.lang.String author
        the author of the revision
      • postCommitError

        java.lang.String postCommitError
        post commit error (or NULL)
      • reposRoot

        java.lang.String reposRoot
        repos root (or NULL)
    • Constructor Detail

      • CommitInfo

        public CommitInfo​(long rev,
                          java.lang.String d,
                          java.lang.String a,
                          java.lang.String pce,
                          java.lang.String rr)
                   throws java.text.ParseException
        This constructor will be only called from the jni code.
        Throws:
        java.text.ParseException
    • Method Detail

      • getRevision

        public long getRevision()
        retrieve the revision of the commit
      • getDate

        public java.util.Date getDate()
        return the date of the commit
      • getAuthor

        public java.lang.String getAuthor()
        return the author of the commit
      • getPostCommitError

        public java.lang.String getPostCommitError()
        return any post commit error for the commit
      • getReposRoot

        public java.lang.String getReposRoot()
        return the repos root