Class DaisyDiffRequest
java.lang.Object
com.gentics.contentnode.rest.model.request.DaisyDiffRequest
Class representing a daisyDiff request sent to DiffResource. Encapsulates request data.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn the ignore regex that will be used to sanitize the content before the diff is invoked.getNewer()
Get the newer version of the html document to be diff'ed.getOlder()
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.
-
Field Details
-
older
Older version of a HTML document to be diff'ed -
newer
Newer version of a HTML document to be diff'ed -
ignoreRegex
Regex of content to be ignored while diffing
-
-
Constructor Details
-
DaisyDiffRequest
public DaisyDiffRequest()Create an empty instance (Used by JAXB)
-
-
Method Details
-
getOlder
Get the older version of the html document to be diff'ed.- Returns:
- the older version of the HTML document to diff
-
setOlder
Set the older version of the html document to be diff'ed.- Parameters:
older
- the older version of the HTML document to diff
-
getNewer
Get the newer version of the html document to be diff'ed.- Returns:
- the newer version of the HTML document to diff
-
setNewer
Set the newer version of the html document to be diff'ed.- Parameters:
newer
- the newer version of the HTML document to diff
-
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
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.
-