Package org.reviewboard.rbjenkins.common
Class ReviewRequest
java.lang.Object
org.reviewboard.rbjenkins.common.ReviewRequest
Stores information about the Review Request which triggered the Jenkins
build.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumEnumerates the possible states for a status update to be in. -
Constructor Summary
ConstructorsConstructorDescriptionReviewRequest(int reviewId, int revision, int statusUpdateId, URL serverURL) Construct the ReviewRequest object with information about the review request. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the review ID of the review request.intReturns the revision of the review request.Returns the server URL for the review request.intReturns the status update ID for the review request.
-
Constructor Details
-
ReviewRequest
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 Details
-
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
Returns the server URL for the review request.- Returns:
- Server URL
-