public static class ReviewData.Builder
extends java.lang.Object
ReviewData
.Modifier | Constructor and Description |
---|---|
|
Builder() |
protected |
Builder(ReviewData reviewData) |
public Builder()
protected Builder(ReviewData reviewData)
public ReviewData build()
public ReviewData.Builder setType(ReviewData.ReviewType reviewType)
public ReviewData.Builder setAllowReviewersToJoin(java.lang.Boolean allowReviewersToJoin)
public ReviewData.Builder setAuthor(UserData author)
public ReviewData.Builder setCloseDate(java.util.Date closeDate)
public ReviewData.Builder setCreateDate(java.util.Date createDate)
public ReviewData.Builder setCreator(UserData creator)
public ReviewData.Builder setDescription(java.lang.String description)
public ReviewData.Builder setDueDate(java.util.Date dueDate)
public ReviewData.Builder setReminderDate(java.util.Date dueDate)
@Deprecated public ReviewData.Builder setJiraIssueKey(java.lang.String jiraIssueKey)
setLinkedIssues(Set)
insteadpublic ReviewData.Builder setLinkedIssues(@Nullable java.util.Set<java.lang.String> linkedIssues)
public ReviewData.Builder setMetricsVersion(int metricsVersion)
public ReviewData.Builder setModerator(UserData moderator)
public ReviewData.Builder setName(java.lang.String name)
public ReviewData.Builder setParentReview(PermId<ReviewData> parentReview)
public ReviewData.Builder setPermaId(java.lang.String permaId)
public ReviewData.Builder setPermaIdHistory(java.util.Set<java.lang.String> permaIdHistory)
public ReviewData.Builder setProjectKey(java.lang.String projectKey)
public ReviewData.Builder setState(ReviewData.State state)
public ReviewData.Builder setSummary(java.lang.String summary)