Interface Reference


@Immutable public interface Reference
GitHub Git Data Reference.
Since:
0.6
  • Method Summary

    Modifier and Type
    Method
    Description
    jakarta.json.JsonObject
    Return its Json.
    void
    patch(jakarta.json.JsonObject json)
    Patch using this JSON object.
    ref()
    Return its name.
    Return its owner repo.
  • Method Details

    • repo

      Repo repo()
      Return its owner repo.
      Returns:
      Repo
    • ref

      String ref()
      Return its name.
      Returns:
      String
    • json

      jakarta.json.JsonObject json() throws IOException
      Return its Json.
      Returns:
      JsonObject
      Throws:
      IOException - - If something goes wrong.
    • patch

      void patch(jakarta.json.JsonObject json) throws IOException
      Patch using this JSON object.
      Parameters:
      json - JSON object
      Throws:
      IOException - If there is any I/O problem