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.JsonObject
json()
Return its Json.void
patch(javax.json.JsonObject json)
Patch using this JSON object.String
ref()
Return its name.Repo
repo()
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 IOException
Return its Json.- Returns:
- JsonObject
- Throws:
IOException
- - If something goes wrong.
-
patch
void patch(javax.json.JsonObject json) throws IOException
Patch using this JSON object.- Parameters:
json
- JSON object- Throws:
IOException
- If there is any I/O problem
-
-