public class DiffRequest extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
changeTemplate
Template for rendering changes
|
protected String |
content1
First content to be diff'ed
|
protected String |
content2
Second content to be diff'ed
|
protected String |
ignoreRegex
Regex of content to be ignored while diffing
|
protected String |
insertTemplate
Template for rendering inserts
|
protected String |
removeTemplate
Template for rendering removals
|
protected Integer |
wordsAfter
Number of words to be shown after the diff
|
protected Integer |
wordsBefore
Number of words to be shown before the diff
|
Constructor and Description |
---|
DiffRequest()
Create an empty instance (Used by JAXB)
|
Modifier and Type | Method and Description |
---|---|
String |
getChangeTemplate() |
String |
getContent1() |
String |
getContent2() |
String |
getIgnoreRegex() |
String |
getInsertTemplate() |
String |
getRemoveTemplate() |
Integer |
getWordsAfter() |
Integer |
getWordsBefore() |
void |
setChangeTemplate(String changeTemplate) |
void |
setContent1(String content1) |
void |
setContent2(String content2) |
void |
setIgnoreRegex(String ignoreRegex) |
void |
setInsertTemplate(String insertTemplate) |
void |
setRemoveTemplate(String removeTemplate) |
void |
setWordsAfter(Integer wordsAfter) |
void |
setWordsBefore(Integer wordsBefore) |
protected String content1
protected String content2
protected String ignoreRegex
protected String changeTemplate
protected String insertTemplate
protected String removeTemplate
protected Integer wordsBefore
protected Integer wordsAfter
public String getContent1()
public void setContent1(String content1)
content1
- the content1 to setpublic String getContent2()
public void setContent2(String content2)
content2
- the content2 to setpublic String getIgnoreRegex()
public void setIgnoreRegex(String ignoreRegex)
ignoreRegex
- the ignoreRegex to setpublic String getChangeTemplate()
public void setChangeTemplate(String changeTemplate)
changeTemplate
- the changeTemplate to setpublic String getInsertTemplate()
public void setInsertTemplate(String insertTemplate)
insertTemplate
- the insertTemplate to setpublic String getRemoveTemplate()
public void setRemoveTemplate(String removeTemplate)
removeTemplate
- the removeTemplate to setpublic Integer getWordsBefore()
public void setWordsBefore(Integer wordsBefore)
wordsBefore
- the wordsBefore to setpublic Integer getWordsAfter()
public void setWordsAfter(Integer wordsAfter)
wordsAfter
- the wordsAfter to setCopyright © 2014 Gentics Software GmbH. All rights reserved.