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.
-
-
Constructor Summary
Constructors Constructor Description DaisyDiffRequest()
Create an empty instance (Used by JAXB)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getIgnoreRegex()
Return the ignore regex that will be used to sanitize the content before the diff is invoked.String
getNewer()
Get the newer version of the html document to be diff'ed.String
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
setNewer(String newer)
Set the newer version of the html document to be diff'ed.void
setOlder(String older)
Set the older version of the html document to be diff'ed.
-
-
-
Method Detail
-
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.
-
-