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 enum 
    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

    Modifier and Type
    Method
    Description
    int
    Returns the review ID of the review request.
    int
    Returns the revision of the review request.
    Returns the server URL for the review request.
    int
    Returns the status update ID for the review request.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • 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 ID
      revision - Revision of the review request
      statusUpdateId - Review request's status update ID
      serverURL - 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

      public URL getServerURL()
      Returns the server URL for the review request.
      Returns:
      Server URL