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

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

public class DaisyDiffRequest
extends java.lang.Object

Class representing a daisyDiff request sent to DiffResource. Encapsulates request data.


Field Summary
protected  java.lang.String ignoreRegex
          Regex of content to be ignored while diffing
protected  java.lang.String newer
          Newer version of a HTML document to be diff'ed
protected  java.lang.String older
          Older version of a HTML document to be diff'ed
 
Constructor Summary
DaisyDiffRequest()
          Create an empty instance (Used by JAXB)
 
Method Summary
 java.lang.String getIgnoreRegex()
          Return the ignore regex that will be used to sanitize the content before the diff is invoked.
 java.lang.String getNewer()
          Get the newer version of the html document to be diff'ed.
 java.lang.String getOlder()
          Get the older version of the html document to be diff'ed.
 void setIgnoreRegex(java.lang.String ignoreRegex)
          Return the ignore regex that will be used to sanitize the content before the diff is invoked.
 void setNewer(java.lang.String newer)
          Set the newer version of the html document to be diff'ed.
 void setOlder(java.lang.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 java.lang.String older
Older version of a HTML document to be diff'ed


newer

protected java.lang.String newer
Newer version of a HTML document to be diff'ed


ignoreRegex

protected java.lang.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 java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.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(java.lang.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 © 2015 Gentics Software GmbH. All Rights Reserved.