|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.twelvegm.hudson.plugin.reviewboard.ReviewRequest
public class ReviewRequest
Represents a single Review Request in Reviewboard. Currently not a complete model of a review request. Only contains values needed for the Reviewboard Hudson Plugin. This should be expanded as more fields are required.
| Constructor Summary | |
|---|---|
ReviewRequest(Long changeListID,
Long reviewBoardID,
String author,
String changeDescription)
Constructs a new Review Request object based upon values in Reviewboard. |
|
| Method Summary | |
|---|---|
String |
getAuthor()
Author of changelist from Reviewboard. |
String |
getChangeDescription()
Description of change from Reviewboard. |
Long |
getChangeListID()
Returns the changelist ID associated with a review request. |
Long |
getReviewBoardID()
Returns the reviewboard ID associated with the review request |
void |
setAuthor(String author)
Sets the author of the changelist from Reviewboard. |
void |
setChangeDescription(String changeDescription)
Sets the change description value for this revie request. |
void |
setChangeListID(Long changeListID)
Sets the changelist ID associated with a review request This value is often the changelist ID from SCM. |
void |
setReviewBoardID(Long reviewBoardID)
Sets the Reviewboard ID that maps this object into a Reviewboard review request. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReviewRequest(Long changeListID,
Long reviewBoardID,
String author,
String changeDescription)
changeListID - ID from SCM associated with a builds external ID and review request IDreviewBoardID - ID of review request in Reviewboardauthor - author of change (usually the submitter of the changelist in SCM)changeDescription - description of the change that was submit to SCM| Method Detail |
|---|
public Long getChangeListID()
public void setChangeListID(Long changeListID)
changeListID - changelist ID from Reviewboardpublic Long getReviewBoardID()
public void setReviewBoardID(Long reviewBoardID)
reviewBoardID - Reviewboard ID of matching review requestpublic String getAuthor()
public void setAuthor(String author)
author - author of the changelist from Reviewboardpublic String getChangeDescription()
public void setChangeDescription(String changeDescription)
changeDescription -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||