java.lang.Object
org.kohsuke.github.GHBranchProtection.RequiredReviews
- Enclosing class:
- GHBranchProtection
The type RequiredReviews.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets dismissal restrictions.int
Gets required reviewers.getUrl()
Gets url.boolean
Is dismiss stale reviews boolean.boolean
Is require code owner reviews boolean.boolean
Is require last push approval boolean.
-
Constructor Details
-
RequiredReviews
public RequiredReviews()Create default RequiredReviews instance
-
-
Method Details
-
getDismissalRestrictions
Gets dismissal restrictions.- Returns:
- the dismissal restrictions
-
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
-