public class RtStatuses extends Object implements Statuses
Statuses.Smart
Modifier and Type | Method and Description |
---|---|
Commit |
commit()
Get commit object.
|
Status |
create(Status status)
Create new status for a commit.
|
javax.json.JsonObject |
json()
JSON object for this request.
|
Iterable<Statuses> |
list(String ref)
Get all status messages for current commit.
|
String |
toString()
Generate string representation.
|
@NotNull(message="toString is never NULL") public final String toString()
public final Status create(@NotNull(message="status can\'t be NULL") Status status) throws IOException
create
in interface Statuses
status
- Add this statusIOException
- In case of any I/O problems@NotNull(message="list of statuses can\'t be NULL") public final Iterable<Statuses> list(@NotNull(message="ref can\'t be NULL") String ref)
@NotNull(message="JSON can\'t be NULL") public final javax.json.JsonObject json() throws IOException
json
in interface JsonReadable
IOException
- In case of I/O problemsCopyright © 2012–2015 jcabi.com. All rights reserved.