com.gentics.contentnode.rest.model.request
Class DaisyDiffRequest

java.lang.Object
  extended by 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
protected  String ignoreRegex
          Regex of content to be ignored while diffing
protected  String newer
          Newer version of a HTML document to be diff'ed
protected  String older
          Older version of a HTML document to be diff'ed
 
Constructor Summary
DaisyDiffRequest()
          Create an empty instance (Used by JAXB)
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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 Detail

DaisyDiffRequest

public DaisyDiffRequest()
Create an empty instance (Used by JAXB)

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.


Copyright © 2014 Gentics Software GmbH. All Rights Reserved.