public class SimpleDiffRequest extends ContentDiffRequest
DiffContentFactory
myUserDataHolder
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, putUserData
public 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 ContentDiffRequest
public java.util.List<java.lang.String> getContentTitles()
getContentTitles
in class ContentDiffRequest
ContentDiffRequest.getContents()
Titles could be null.public java.lang.String getTitle()
getTitle
in class DiffRequest
public void onAssigned(boolean isAssigned)
onAssigned
in class DiffRequest