public class SimpleDiffRequest extends ContentDiffRequest
DiffContentFactorymyUserDataHolder| Constructor and Description |
|---|
SimpleDiffRequest(java.lang.String title,
DiffContent content1,
DiffContent content2,
DiffContent content3,
java.lang.String title1,
java.lang.String title2,
java.lang.String title3) |
SimpleDiffRequest(java.lang.String title,
DiffContent content1,
DiffContent content2,
java.lang.String title1,
java.lang.String title2)
Pass
DiffContentFactory.createEmpty() to create request for additions/deletions. |
SimpleDiffRequest(java.lang.String title,
java.util.List<DiffContent> contents,
java.util.List<java.lang.String> titles) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<DiffContent> |
getContents() |
java.util.List<java.lang.String> |
getContentTitles() |
java.lang.String |
getTitle() |
void |
onAssigned(boolean isAssigned) |
getUserData, putUserDatapublic SimpleDiffRequest(java.lang.String title,
DiffContent content1,
DiffContent content2,
java.lang.String title1,
java.lang.String title2)
DiffContentFactory.createEmpty() to create request for additions/deletions.public SimpleDiffRequest(java.lang.String title,
DiffContent content1,
DiffContent content2,
DiffContent content3,
java.lang.String title1,
java.lang.String title2,
java.lang.String title3)
public SimpleDiffRequest(java.lang.String title,
java.util.List<DiffContent> contents,
java.util.List<java.lang.String> titles)
public java.util.List<DiffContent> getContents()
getContents in class ContentDiffRequestpublic java.util.List<java.lang.String> getContentTitles()
getContentTitles in class ContentDiffRequestContentDiffRequest.getContents()
Titles could be null.public java.lang.String getTitle()
getTitle in class DiffRequestpublic void onAssigned(boolean isAssigned)
onAssigned in class DiffRequest