public class GHBranch
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GHBranch.Commit |
| Constructor and Description |
|---|
GHBranch() |
| Modifier and Type | Method and Description |
|---|---|
void |
disableProtection()
Deprecated.
|
void |
enableProtection(EnforcementLevel level,
java.util.Collection<java.lang.String> contexts)
Deprecated.
|
void |
enableProtection(EnforcementLevel level,
java.lang.String... contexts)
Deprecated.
|
java.lang.String |
getName() |
GHRepository |
getOwner()
Repository that this branch is in.
|
GitHub |
getRoot() |
java.lang.String |
getSHA1()
The commit that this branch currently points to.
|
java.lang.String |
toString() |
public GitHub getRoot()
public GHRepository getOwner()
public java.lang.String getName()
public java.lang.String getSHA1()
@Preview @Deprecated public void disableProtection() throws java.io.IOException
java.io.IOException@Preview @Deprecated public void enableProtection(EnforcementLevel level, java.util.Collection<java.lang.String> contexts) throws java.io.IOException
java.io.IOExceptionGHCommitStatus.getContext()@Preview @Deprecated public void enableProtection(EnforcementLevel level, java.lang.String... contexts) throws java.io.IOException
java.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2016. All Rights Reserved.