Package com.jcabi.github
Interface PullRef
-
- All Superinterfaces:
JsonReadable
- All Known Implementing Classes:
PullRef.Smart
@Immutable public interface PullRef extends JsonReadable
GitHub pull request ref.- Since:
- 0.24
- Version:
- $Id: 3527ae5364beb6fac37c292be0e029985e4af22b $
- Author:
- Chris Rebert (github@rebertia.com)
- See Also:
- Get a single pull request API
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPullRef.SmartSmart pull request ref with extra features.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stringref()Get its ref.Reporepo()Get the repository which its commit is in.Stringsha()Get its commit SHA.-
Methods inherited from interface com.jcabi.github.JsonReadable
json
-
-
-
-
Method Detail
-
repo
Repo repo()
Get the repository which its commit is in.- Returns:
- Repo
-
ref
String ref() throws IOException
Get its ref.- Returns:
- Ref
- Throws:
IOException- If there is any I/O problem
-
sha
String sha() throws IOException
Get its commit SHA.- Returns:
- Commit SHA
- Throws:
IOException- If there is any I/O problem
-
-