Class GHBranchProtection.RequiredReviews

java.lang.Object
org.kohsuke.github.GHBranchProtection.RequiredReviews
Enclosing class:
GHBranchProtection

public static class GHBranchProtection.RequiredReviews extends Object
The type RequiredReviews.
  • Constructor Details

    • RequiredReviews

      public RequiredReviews()
      Create default RequiredReviews instance
  • Method Details

    • getDismissalRestrictions

      public GHBranchProtection.Restrictions getDismissalRestrictions()
      Gets dismissal restrictions.
      Returns:
      the dismissal restrictions
    • getUrl

      public String getUrl()
      Gets url.
      Returns:
      the url
    • isDismissStaleReviews

      public boolean isDismissStaleReviews()
      Is dismiss stale reviews boolean.
      Returns:
      the boolean
    • isRequireCodeOwnerReviews

      public boolean isRequireCodeOwnerReviews()
      Is require code owner reviews boolean.
      Returns:
      the boolean
    • isRequireLastPushApproval

      public boolean isRequireLastPushApproval()
      Is require last push approval boolean.
      Returns:
      the boolean
    • getRequiredReviewers

      public int getRequiredReviewers()
      Gets required reviewers.
      Returns:
      the required reviewers