Package com.jcabi.github
Interface Reference
-
@Immutable public interface Reference
Github Git Data Reference.- Version:
- $Id: cf3ffa6bf74b9e467e875b108212cea11f30588c $
- 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
-
-