public class RtStatuses extends Object implements Statuses
Statuses.StatusCreate
Modifier and Type | Method and Description |
---|---|
Commit |
commit()
Get commit object.
|
Status |
create(Statuses.StatusCreate status)
Create new status for a commit.
|
javax.json.JsonObject |
json()
JSON object for this request.
|
Iterable<Status> |
list(String ref)
Get all status messages for a given commit.
|
String |
toString()
Generate string representation.
|
public final String toString()
public final Commit commit()
public final Status create(Statuses.StatusCreate status) throws IOException
create
in interface Statuses
status
- Add this statusIOException
- In case of any I/O problemspublic final Iterable<Status> list(String ref)
list
in interface Statuses
ref
- It can be a SHA, a branch name, or a tag name.public final javax.json.JsonObject json() throws IOException
json
in interface JsonReadable
IOException
- In case of I/O problemsCopyright © 2012–2018 jcabi.com. All rights reserved.