Package com.jcabi.github
Interface Reference
-
@Immutable public interface ReferenceGithub Git Data Reference.- Version:
- $Id: 3c1d7fb17df73b210345c2da47c7707f1697f235 $
- Author:
- Mihai Andronache (amihaiemil@gmail.com)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.json.JsonObjectjson()Return its Json.voidpatch(javax.json.JsonObject json)Patch using this JSON object.Stringref()Return its name.Reporepo()Return its owner repo.
-
-
-
Method Detail
-
repo
Repo repo()
Return its owner repo.- Returns:
- Repo
-
ref
String ref()
Return its name.- Returns:
- String
-
json
javax.json.JsonObject json() throws IOExceptionReturn its Json.- Returns:
- JsonObject
- Throws:
IOException- - If something goes wrong.
-
patch
void patch(javax.json.JsonObject json) throws IOExceptionPatch using this JSON object.- Parameters:
json- JSON object- Throws:
IOException- If there is any I/O problem
-
-