Package com.spotify.github.v3.repos
Interface Branch
-
- All Known Implementing Classes:
ImmutableBranch
@Immutable public interface Branch
Branch resource
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ShaLink
commit()
Commit details branch is labelingOptional<Boolean>
isProtected()
True if branch is protectedString
name()
Branch nameOptional<Protection>
protection()
Optional<URI>
protectionUrl()
Branch protection API URL
-
-
-
Method Detail
-
name
@Nullable String name()
Branch name
-
commit
@Nullable ShaLink commit()
Commit details branch is labeling
-
protection
Optional<Protection> protection()
-
-