com.atlassian.crucible.spi.data
Class ReviewData
java.lang.Object
com.atlassian.crucible.spi.data.ReviewData
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- DetailedReviewData
public class ReviewData
- extends java.lang.Object
- implements java.io.Serializable
Holds the attributes of a review
- See Also:
- Serialized Form
Constructor Summary |
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.lang.String summary,
ReviewData.State state,
boolean allowReviewersToJoin,
PermId<ReviewData> parentReview,
java.util.Date createDate,
java.util.Date closeDate,
java.util.Date dueDate,
int metricsVersion,
java.lang.String jiraIssueKey)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReviewData
public ReviewData()
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.lang.String summary,
ReviewData.State state,
boolean allowReviewersToJoin,
PermId<ReviewData> parentReview,
java.util.Date createDate,
java.util.Date closeDate,
java.util.Date dueDate,
int metricsVersion,
java.lang.String jiraIssueKey)
ReviewData
public ReviewData(ReviewData review)
setName
public void setName(java.lang.String name)
setDescription
public void setDescription(java.lang.String description)
setAuthor
public void setAuthor(UserData author)
setModerator
public void setModerator(UserData moderator)
setCreator
public void setCreator(UserData creator)
setState
public void setState(ReviewData.State state)
getDescription
public java.lang.String getDescription()
getAuthor
public UserData getAuthor()
getModerator
public UserData getModerator()
getCreator
public UserData getCreator()
getPermaId
public PermId<ReviewData> getPermaId()
setPermaId
public void setPermaId(PermId<ReviewData> permId)
getSummary
public java.lang.String getSummary()
setSummary
public void setSummary(java.lang.String summary)
setPermaIdAsString
public void setPermaIdAsString(java.lang.String permaId)
getName
public java.lang.String getName()
getState
public ReviewData.State getState()
isAllowReviewersToJoin
public boolean isAllowReviewersToJoin()
setAllowReviewersToJoin
public void setAllowReviewersToJoin(boolean allowReviewersToJoin)
getProjectKey
public java.lang.String getProjectKey()
setProjectKey
public void setProjectKey(java.lang.String projectKey)
getParentReview
public PermId<ReviewData> getParentReview()
setParentReview
public void setParentReview(PermId<ReviewData> parentReview)
getMetricsVersion
public int getMetricsVersion()
setMetricsVersion
public void setMetricsVersion(int metricsVersion)
getCreateDate
public java.util.Date getCreateDate()
setCreateDate
public void setCreateDate(java.util.Date createDate)
getCloseDate
public java.util.Date getCloseDate()
setCloseDate
public void setCloseDate(java.util.Date closeDate)
getDueDate
public java.util.Date getDueDate()
setDueDate
public void setDueDate(java.util.Date dueDate)
getJiraIssueKey
public java.lang.String getJiraIssueKey()
setJiraIssueKey
public void setJiraIssueKey(java.lang.String jiraIssueKey)