Package org.reviewboard.rbjenkins.common
Class ReviewRequest
- java.lang.Object
-
- org.reviewboard.rbjenkins.common.ReviewRequest
-
public class ReviewRequest extends Object
Stores information about the Review Request which triggered the Jenkins build.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ReviewRequest.StatusUpdateState
Enumerates the possible states for a status update to be in.
-
Constructor Summary
Constructors Constructor Description ReviewRequest(int reviewId, int revision, int statusUpdateId, URL serverURL)
Construct the ReviewRequest object with information about the review request.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getReviewId()
Returns the review ID of the review request.int
getRevision()
Returns the revision of the review request.URL
getServerURL()
Returns the server URL for the review request.int
getStatusUpdateId()
Returns the status update ID for the review request.
-
-
-
Constructor Detail
-
ReviewRequest
public ReviewRequest(int reviewId, int revision, int statusUpdateId, URL serverURL)
Construct the ReviewRequest object with information about the review request.- Parameters:
reviewId
- Review request IDrevision
- Revision of the review requeststatusUpdateId
- Review request's status update IDserverURL
- Review Board server URL
-
-
Method Detail
-
getReviewId
public int getReviewId()
Returns the review ID of the review request.- Returns:
- Review request ID
-
getRevision
public int getRevision()
Returns the revision of the review request.- Returns:
- Review request revision
-
getStatusUpdateId
public int getStatusUpdateId()
Returns the status update ID for the review request.- Returns:
- Status update ID
-
getServerURL
public URL getServerURL()
Returns the server URL for the review request.- Returns:
- Server URL
-
-