Package com.jcabi.github
Class RtStatus
- java.lang.Object
-
- com.jcabi.github.RtStatus
-
- All Implemented Interfaces:
JsonReadable
,Status
@Immutable @Loggable(1) public final class RtStatus extends Object implements Status
Github commit status.- Since:
- 0.23
- Version:
- $Id: 5b1c2debe08109717994a97d161307dfe2d1a413 $
- Author:
- Marcin Cylke (maracin.cylke+github@gmail.com), Chris Rebert (github@chrisrebert.com)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.jcabi.github.Status
Status.Smart, Status.State
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Commit
commit()
Associated commit.int
identifier()
Get its ID number.javax.json.JsonObject
json()
Describe it in a JSON object.String
url()
Get its URL.
-
-
-
Constructor Detail
-
RtStatus
public RtStatus(Commit cmt, javax.json.JsonObject obj)
Public ctor.- Parameters:
cmt
- Associated commitobj
- Status JSON object
-
-
Method Detail
-
json
public javax.json.JsonObject json()
Description copied from interface:JsonReadable
Describe it in a JSON object.- Specified by:
json
in interfaceJsonReadable
- Returns:
- JSON object
-
identifier
public int identifier()
Description copied from interface:Status
Get its ID number.- Specified by:
identifier
in interfaceStatus
- Returns:
- ID number
-
-