public class GHBranchProtection extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GHBranchProtection.EnforceAdmins
The type EnforceAdmins.
|
static class |
GHBranchProtection.RequiredReviews
The type RequiredReviews.
|
static class |
GHBranchProtection.RequiredStatusChecks
The type RequiredStatusChecks.
|
static class |
GHBranchProtection.Restrictions
The type Restrictions.
|
| Constructor and Description |
|---|
GHBranchProtection() |
| Modifier and Type | Method and Description |
|---|---|
void |
disableSignedCommits()
Deprecated.
|
void |
enabledSignedCommits()
Deprecated.
|
GHBranchProtection.EnforceAdmins |
getEnforceAdmins()
Gets enforce admins.
|
GHBranchProtection.RequiredReviews |
getRequiredReviews()
Gets required reviews.
|
boolean |
getRequiredSignatures()
Deprecated.
|
GHBranchProtection.RequiredStatusChecks |
getRequiredStatusChecks()
Gets required status checks.
|
GHBranchProtection.Restrictions |
getRestrictions()
Gets restrictions.
|
String |
getUrl()
Gets url.
|
@Preview @Deprecated public void enabledSignedCommits() throws IOException
IOException - the io exception@Preview @Deprecated public void disableSignedCommits() throws IOException
IOException - the io exceptionpublic GHBranchProtection.EnforceAdmins getEnforceAdmins()
public GHBranchProtection.RequiredReviews getRequiredReviews()
@Preview @Deprecated public boolean getRequiredSignatures() throws IOException
IOException - the io exceptionpublic GHBranchProtection.RequiredStatusChecks getRequiredStatusChecks()
public GHBranchProtection.Restrictions getRestrictions()
public String getUrl()
Copyright © 2020. All rights reserved.