com.groupdocs.comparison.words.revision

Class RevisionInfo



  • public class RevisionInfo
    extends Object
    Provides information about one revision.
    • Constructor Detail

      • RevisionInfo

        public RevisionInfo()
    • Method Detail

      • getAction

        public RevisionAction getAction()
        Action (accept or reject). This field allows you to influence the display of the revision.
        Returns:
        the action
      • getAuthor

        public String getAuthor()
        Author.
        Returns:
        the author
      • getText

        public String getText()
        The text that is in revision.
        Returns:
        the text
      • getType

        public RevisionType getType()
        RevisionHandler type, depending on the type the Action (accept or reject) logic changes.
        Returns:
        the type
      • setAction

        public void setAction(RevisionAction action)
        Action (accept or reject). This field allows you to influence the display of the revision.
        Parameters:
        action - the action
      • setAuthor

        public void setAuthor(String author)
        Author.
        Parameters:
        author - the author
      • setText

        public void setText(String text)
        The text that is in revision.
        Parameters:
        text - the text
      • setType

        public void setType(RevisionType type)
        RevisionHandler type, depending on the type the Action (accept or reject) logic changes.
        Parameters:
        type - the type