protected abstract static class CommentDataImpl.CommentDataBuilder<M extends CommentDataImpl.CommentDataBuilder,T extends CommentDataImpl>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.Date |
createDate |
protected boolean |
defectApproved |
protected boolean |
defectRaised |
protected boolean |
deleted |
protected boolean |
draft |
protected java.lang.String |
message |
protected java.lang.String |
messageAsHtml |
protected java.util.Map<java.lang.String,CustomFieldData> |
metrics |
protected java.lang.String |
parentCommentPermId |
protected java.lang.String |
permaId |
protected CommentData.Status |
readStatus |
protected java.util.List<GeneralCommentData> |
replies |
protected UserData |
user |
Modifier | Constructor and Description |
---|---|
protected |
CommentDataBuilder() |
Modifier and Type | Method and Description |
---|---|
abstract T |
build() |
M |
setCreateDate(java.util.Date createDate) |
M |
setDefectApproved(boolean defectApproved) |
M |
setDefectRaised(boolean defectRaised) |
M |
setDeleted(boolean deleted) |
M |
setDraft(boolean draft) |
M |
setMessage(java.lang.String message) |
M |
setMessageAsHtml(java.lang.String messageAsHtml) |
M |
setMetrics(java.util.Map<java.lang.String,CustomFieldData> metrics) |
M |
setParentCommentPermId(java.lang.String parentCommentPermId) |
M |
setPermaId(java.lang.String permaId) |
M |
setReadStatus(CommentData.Status readStatus) |
M |
setReplies(java.util.List<GeneralCommentData> replies) |
M |
setUser(UserData user) |
protected java.util.Map<java.lang.String,CustomFieldData> metrics
protected java.lang.String message
protected boolean draft
protected boolean deleted
protected boolean defectRaised
protected boolean defectApproved
protected CommentData.Status readStatus
protected UserData user
protected java.util.Date createDate
protected java.lang.String permaId
protected java.util.List<GeneralCommentData> replies
protected java.lang.String parentCommentPermId
protected java.lang.String messageAsHtml
public abstract T build()
public M setMetrics(java.util.Map<java.lang.String,CustomFieldData> metrics)
public M setMessage(java.lang.String message)
public M setDraft(boolean draft)
public M setDeleted(boolean deleted)
public M setDefectRaised(boolean defectRaised)
public M setDefectApproved(boolean defectApproved)
public M setReadStatus(CommentData.Status readStatus)
public M setCreateDate(java.util.Date createDate)
public M setPermaId(java.lang.String permaId)
public M setReplies(java.util.List<GeneralCommentData> replies)
public M setParentCommentPermId(java.lang.String parentCommentPermId)
public M setMessageAsHtml(java.lang.String messageAsHtml)