Class RevisionInfo


  • public class RevisionInfo
    extends Api
    API object for get info about some version of Document.
    Version:
    $Id: 796cf0181bb79688898fd4285d6b0fa771729a1d $
    • Constructor Detail

      • RevisionInfo

        public RevisionInfo​(XWikiRCSNodeInfo nodeInfo,
                            XWikiContext context)
        Parameters:
        nodeInfo - - from that nodeinfo all information is getting
        context - - needed for Api
    • Method Detail

      • getVersion

        public String getVersion()
        Returns:
        version of this revision
      • getDate

        public Date getDate()
        Returns:
        date of this revision
      • getAuthor

        public String getAuthor()
        Returns:
        author of this revision
      • getComment

        public String getComment()
        Returns:
        revision comment
      • isMinorEdit

        public boolean isMinorEdit()
        Returns:
        is revision is minor