|
||||||||||
| 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 Jenkins Plugin. This should be expanded as more fields are required.
| Constructor Summary | |
|---|---|
ReviewRequest(java.lang.Long changeListID,
java.lang.Long reviewBoardID,
java.lang.String author,
java.lang.String changeDescription)
Constructs a new Review Request object based upon values in Reviewboard. |
|
| Method Summary | |
|---|---|
java.lang.String |
getAuthor()
Author of changelist from Reviewboard. |
java.lang.String |
getChangeDescription()
Description of change from Reviewboard. |
java.lang.Long |
getChangeListID()
Returns the changelist ID associated with a review request. |
java.lang.Long |
getReviewBoardID()
Returns the reviewboard ID associated with the review request |
void |
setAuthor(java.lang.String author)
Sets the author of the changelist from Reviewboard. |
void |
setChangeDescription(java.lang.String changeDescription)
Sets the change description value for this revie request. |
void |
setChangeListID(java.lang.Long changeListID)
Sets the changelist ID associated with a review request This value is often the changelist ID from SCM. |
void |
setReviewBoardID(java.lang.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(java.lang.Long changeListID,
java.lang.Long reviewBoardID,
java.lang.String author,
java.lang.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 java.lang.Long getChangeListID()
public void setChangeListID(java.lang.Long changeListID)
changeListID - changelist ID from Reviewboardpublic java.lang.Long getReviewBoardID()
public void setReviewBoardID(java.lang.Long reviewBoardID)
reviewBoardID - Reviewboard ID of matching review requestpublic java.lang.String getAuthor()
public void setAuthor(java.lang.String author)
author - author of the changelist from Reviewboardpublic java.lang.String getChangeDescription()
public void setChangeDescription(java.lang.String changeDescription)
changeDescription -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||