Class DaisyDiffRequest

java.lang.Object
com.gentics.contentnode.rest.model.request.DaisyDiffRequest

public class DaisyDiffRequest extends Object
Class representing a daisyDiff request sent to DiffResource. Encapsulates request data.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected String
    Regex of content to be ignored while diffing
    protected String
    Newer version of a HTML document to be diff'ed
    protected String
    Older version of a HTML document to be diff'ed
  • Constructor Summary

    Constructors
    Constructor
    Description
    Create an empty instance (Used by JAXB)
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the ignore regex that will be used to sanitize the content before the diff is invoked.
    Get the newer version of the html document to be diff'ed.
    Get the older version of the html document to be diff'ed.
    void
    setIgnoreRegex(String ignoreRegex)
    Return the ignore regex that will be used to sanitize the content before the diff is invoked.
    void
    Set the newer version of the html document to be diff'ed.
    void
    Set the older version of the html document to be diff'ed.

    Methods inherited from class java.lang.Object

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

    • older

      protected String older
      Older version of a HTML document to be diff'ed
    • newer

      protected String newer
      Newer version of a HTML document to be diff'ed
    • ignoreRegex

      protected String ignoreRegex
      Regex of content to be ignored while diffing
  • Constructor Details

    • DaisyDiffRequest

      public DaisyDiffRequest()
      Create an empty instance (Used by JAXB)
  • Method Details

    • getOlder

      public String getOlder()
      Get the older version of the html document to be diff'ed.
      Returns:
      the older version of the HTML document to diff
    • setOlder

      public void setOlder(String older)
      Set the older version of the html document to be diff'ed.
      Parameters:
      older - the older version of the HTML document to diff
    • getNewer

      public String getNewer()
      Get the newer version of the html document to be diff'ed.
      Returns:
      the newer version of the HTML document to diff
    • setNewer

      public void setNewer(String newer)
      Set the newer version of the html document to be diff'ed.
      Parameters:
      newer - the newer version of the HTML document to diff
    • getIgnoreRegex

      public String getIgnoreRegex()
      Return the ignore regex that will be used to sanitize the content before the diff is invoked.
      Returns:
      the the Regex of content to be ignored while diffing. May be null.
    • setIgnoreRegex

      public void setIgnoreRegex(String ignoreRegex)
      Return the ignore regex that will be used to sanitize the content before the diff is invoked.
      Parameters:
      ignoreRegex - the Regex of content to be ignored while diffing. May be null.