public class ReviewData
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ReviewData.Builder
Use this class when instantiating
ReviewData . |
static class |
ReviewData.ReviewType |
static class |
ReviewData.State
States of a review.
|
Constructor and Description |
---|
ReviewData() |
ReviewData(ReviewData review) |
ReviewData(java.lang.String projectKey,
java.lang.String name,
java.lang.String description,
UserData author,
UserData moderator,
UserData creator,
java.lang.String permaId,
java.util.Set<java.lang.String> permaIdHistory,
java.lang.String summary,
ReviewData.State state,
ReviewData.ReviewType type,
java.lang.Boolean allowReviewersToJoin,
PermId<ReviewData> parentReview,
java.util.Date createDate,
java.util.Date closeDate,
java.util.Date dueDate,
java.util.Date reminderDate,
int metricsVersion,
java.util.Set<java.lang.String> linkedIssues)
Avoid using these constructors when instantiating this class.
|
Modifier and Type | Method and Description |
---|---|
UserData |
getAuthor() |
java.util.Date |
getCloseDate() |
java.util.Date |
getCreateDate() |
UserData |
getCreator() |
java.lang.String |
getDescription() |
java.util.Date |
getDueDate() |
java.lang.String |
getJiraIssueKey()
Deprecated.
since 4.6.0, use
getLinkedIssues() instead |
java.util.Set<java.lang.String> |
getLinkedIssues() |
int |
getMetricsVersion() |
UserData |
getModerator() |
java.lang.String |
getName() |
PermId<ReviewData> |
getParentReview() |
PermId<ReviewData> |
getPermaId() |
java.util.Set<java.lang.String> |
getPermaIdHistory() |
java.lang.String |
getProjectKey() |
java.util.Date |
getReminderDate() |
ReviewData.State |
getState() |
java.lang.String |
getSummary() |
ReviewData.ReviewType |
getType() |
java.lang.Boolean |
isAllowReviewersToJoin() |
void |
setAllowReviewersToJoin(java.lang.Boolean allowReviewersToJoin) |
void |
setAuthor(UserData author) |
void |
setCloseDate(java.util.Date closeDate) |
void |
setCreateDate(java.util.Date createDate) |
void |
setCreator(UserData creator) |
void |
setDescription(java.lang.String description) |
void |
setDueDate(java.util.Date dueDate) |
void |
setJiraIssueKey(java.lang.String jiraIssueKey)
Deprecated.
since 4.6.0, use
setLinkedIssues(Set) instead |
void |
setLinkedIssues(java.util.Set<java.lang.String> linkedIssues) |
void |
setMetricsVersion(int metricsVersion) |
void |
setModerator(UserData moderator) |
void |
setName(java.lang.String name) |
void |
setParentReview(PermId<ReviewData> parentReview) |
void |
setPermaId(PermId<ReviewData> permId) |
void |
setPermaIdAsString(java.lang.String permaId) |
void |
setPermaIdHistory(java.util.Set<java.lang.String> permaIdHistory) |
void |
setProjectKey(java.lang.String projectKey) |
void |
setReminderDate(java.util.Date reminderDate) |
void |
setState(ReviewData.State state) |
void |
setSummary(java.lang.String summary) |
void |
setType(ReviewData.ReviewType type) |
public ReviewData()
public ReviewData(java.lang.String projectKey, java.lang.String name, java.lang.String description, UserData author, UserData moderator, UserData creator, java.lang.String permaId, java.util.Set<java.lang.String> permaIdHistory, java.lang.String summary, ReviewData.State state, ReviewData.ReviewType type, java.lang.Boolean allowReviewersToJoin, PermId<ReviewData> parentReview, java.util.Date createDate, java.util.Date closeDate, java.util.Date dueDate, java.util.Date reminderDate, int metricsVersion, @Nullable java.util.Set<java.lang.String> linkedIssues)
ReviewData.Builder
instead.public ReviewData(ReviewData review)
public void setName(java.lang.String name)
public void setDescription(java.lang.String description)
public void setAuthor(UserData author)
public void setModerator(UserData moderator)
public void setCreator(UserData creator)
public void setState(ReviewData.State state)
public void setType(ReviewData.ReviewType type)
public java.lang.String getDescription()
public UserData getAuthor()
public UserData getModerator()
public UserData getCreator()
public PermId<ReviewData> getPermaId()
public void setPermaId(PermId<ReviewData> permId)
public java.util.Set<java.lang.String> getPermaIdHistory()
public void setPermaIdHistory(java.util.Set<java.lang.String> permaIdHistory)
public java.lang.String getSummary()
public void setSummary(java.lang.String summary)
public void setPermaIdAsString(java.lang.String permaId)
public java.lang.String getName()
public ReviewData.State getState()
public ReviewData.ReviewType getType()
public java.lang.Boolean isAllowReviewersToJoin()
public void setAllowReviewersToJoin(java.lang.Boolean allowReviewersToJoin)
public java.lang.String getProjectKey()
public void setProjectKey(java.lang.String projectKey)
public PermId<ReviewData> getParentReview()
public void setParentReview(PermId<ReviewData> parentReview)
public int getMetricsVersion()
public void setMetricsVersion(int metricsVersion)
public java.util.Date getCreateDate()
public void setCreateDate(java.util.Date createDate)
public java.util.Date getCloseDate()
public void setCloseDate(java.util.Date closeDate)
public java.util.Date getDueDate()
public void setDueDate(java.util.Date dueDate)
public java.util.Date getReminderDate()
public void setReminderDate(java.util.Date reminderDate)
@Deprecated @Nullable public java.lang.String getJiraIssueKey()
getLinkedIssues()
instead@Nullable public java.util.Set<java.lang.String> getLinkedIssues()
@Deprecated public void setJiraIssueKey(@Nullable java.lang.String jiraIssueKey)
setLinkedIssues(Set)
insteadjiraIssueKey
- one issue key to set (it clears all issues set previously)public void setLinkedIssues(@Nullable java.util.Set<java.lang.String> linkedIssues)
linkedIssues
- issue keys