Interface PullRef

All Superinterfaces:
JsonReadable
All Known Implementing Classes:
PullRef.Smart

@Immutable public interface PullRef extends JsonReadable
GitHub pull request ref.
Since:
0.24
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    Smart pull request ref with extra features.
  • Method Summary

    Modifier and Type
    Method
    Description
    ref()
    Get its ref.
    Get the repository which its commit is in.
    sha()
    Get its commit SHA.

    Methods inherited from interface com.jcabi.github.JsonReadable

    json
  • Method Details

    • 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